Professional Documents
Culture Documents
Advanced Java Programming: Instructions To Candidates
Advanced Java Programming: Instructions To Candidates
Advanced Java Programming: Instructions To Candidates
INSTRUCTIONS TO CANDIDATES :
22919 22919
1. 22919
SECTIONS-A, B, C &22919
D contains 22919
T WO questions 22919each carrying
22919 T EN marks
22919 each 22919
and students have to attempt any ONE question from each SECT ION.
2. SECTION-E is COMPULSORY consisting of T EN questions carrying T WENT Y
marks in all.
22919 22919
3. 22919 22919
Use of non-programmable 22919 calculator
scientific 22919
is allowed. 22919 22919 22919
SECTION-A
22919 22919
1.
22919 22919 22919
Define Thread and Multithreading. Explain the states in the lifecycle of a thread in Java.
22919
22919 2.
22919 Explain22919
the following22919 .r c
with examples22919
: 22919 22919 22919 22919
a) Daemon threads
p e m
pa o
.r c
22919 22919 22919 22919 22919 22919 22919 22919 22919
b) Atomic variables
p e
22919 22919 22919 22919
3.
a
What is a Stream in Java? What are the characteristics of a stream? Discuss the Input and
Output Stream hierarchy in Java.
p
22919 22919
4.
22919 22919 22919
5. What is JDBC? Explain various classes of JDBC drivers. Also write typical uses of
22919 22919
JDBC. 22919 22919 22919 22919 22919 22919 22919
22919 1|M
22919 c o d e - 722919
4113 22919 22919 22919 22919 ( S 22919
6)-380 22919
SECTION-D
22919 22919 22919 22919 22919 22919 22919 22919 22919
7. What is a Java Beans? What are the advantages of using Java Beans? Also explain
JavaBeans API.
22919 22919 22919 22919 22919 22919 22919 22919 22919
8. What are Generics in Java? What is its importance? Discuss the implementation of
various types of generics with examples.
22919 22919 22919 22919 22919 22919 22919 22919 22919
SECTION-E
o m
transaction managed?
22919 22919 22919 22919
.r c
e) Explain Java's Scanner class with an example.
22919 22919 22919 22919 22919 22919 22919 22919 22919
f) How security is provided in Object Serialization?
p e m
g) What is Reflection API used for?
pa o
.r c
22919 22919 22919 22919 22919 22919 22919 22919 22919
br
h) What is the use of Type Erasure in a Java program?
22919 22919
i) What are Marker annotations?
22919 22919 22919
p e
22919 22919 22919 22919
22919 2|M
22919 c o d e - 722919
4113 22919 22919 22919 22919 ( S 22919
6)-380 22919