AX-1983
B.C.A. Pert-I[ (Semester-9 Eiamination
CORE JAVA
Paper-SSTl
Time : Three Hoursl [Maximum Marks : 60
Note :- (1) All questiors are compulsory.
(2) All questions carry equa.l ma*s
1. (a) ErTlain:
on,r\{
G) JDK
(if Platfonnlndependent. 6
(b) Write a Java program to Iind tlre greatest number tom given three nurnbers 6
OR
2. (a) Exptain Command Line argument with example. 6
(b) Describe string class with its method. 6
3. (a) How constlctor calliDg is done in an inheritance ? Explain with example. 6
(b) Explain class and object. How they cieate ? Explain with proper example. 6
OR
4. (a) 'r[4ut is constuctor ? Explain the constructor overloading. 6
(b) What is inheritance ? Explain the t ?es of inhe tance in Java. 6
5. (a) Explain interface definition and its implelue[tation with example. 6
(b) Wlat is package ? Explain pre-defined packages in Java. 6
OR
6. (a) How does Java support mltiple inheritance ? Explain with example. 6
(b) Write procedue to create user defined package. 6
DD-]082: I (Conrd.)
7. (a) Explain try atrd catch blocks to handle atr exceptior 6
6
ft) Explain thread cycle with dia$am.
OR
8. (a) Explain:
O Thrc\rs
(tl)'rv
6
GtD rinally.
(b) Explain:
(i) Nested Try Statemert.
(ii) Multipte Catch Blocks 6
9. (a) What is layout manager ? Explain any thtree layout managels' 6
6
(b) Explain the mouse and keyboard events in Java'
OR
6
10. (a) Explain Event class with examPle.
message "Core Java" on the applet area' 6
(b) Create an applet to display the
DD 10822 2 12i