Professional Documents
Culture Documents
S y Bca Sem 4 Uni 2014 Java
S y Bca Sem 4 Uni 2014 Java
SeatNo.r 95O
ZC.T22
April-2014
B.C.A., Sem.-fV
Cc.zrc CORE JAVA
Tine : 3 HoursJ
[Max. Marks : 70
ir
(4) Polymorphism
OR
ls
Explain the following terms :
ir
mechanism with example. ,
ls
(B) Describe following functions :
(1) drawReco
(2) showStatusQ +
(3) fillPolysonQ
ea
OR
Describe foiloyllg j$q&!q_:_ -_-.
ffl Ot"*Stri"gO
R
(2) join0
(3) sleep0
G
4. (A) Do as directed:
8
(1) Explain Thread priorities. ----r
q
(2) Give example of creating owned checked exception
@
ir
Cb) javac (d) java * ':,'
X2l An instance of class is a(n)
(a) Method (c)
ls
Object
(b) Constructor (d) Bytecode
(l! fne value 983.47 can be held by a variable of type
V (a) double (c) int
ea
.Q} float (d) All of above
G) llnt Z=97 >> 3. The value of Zis
(a) 94 (c) 13
(b) 7e Q) t2
R
(5) To convert "97'7" into integer value, function is used.
(a)j tolnteger0 (c) parselnt0
g- parselntegerO (d) tolntValue0
G
ir
Fl ThreadRunner
ktf) fo draw rectangle using Graphies in Applet,
(a) Java.net (c) Java.util
ls
, ? {b) Juuu.applet (d) Java.awr
Vt+l To draw circle in applet, function is used.
(*)-drawOval0 (c) drawCircle{)
(b)
ea
drawRoundRectangle$ (d) drawEelipse$
R
G
@
zc.t2L