Roll No. .................
Total No. of Questions : 07
B.Sc. (IT)
(Sem.–4th)
CORE JAVA
PROGRAMMING
Subject Code :
BS-202
Paper ID : [B0413]
Time : 3 Hrs.
INSTRUCTION TO CANDIDATES :
1 . SECTION-A is COMPULSORY.
2 . Attempt any FOUR questions from SECTION-B.
SECTION-A
l. Write short notes on :
(a) Define garbage collection.
(b) What is the role of bitwise
operators?
(c) Differentiate between Java and
C.
(d) What is byte code?
(e) What is a vector?
(f) What are static members?
(g) What are naming conventions of
packages?
(h) What are default modifiers for
interface methods?
(i) What are the two ways to create
a thread?
(j) Explain the significance of
class path in Java.
SECTION-B
2. Discuss features of Java.
3. Write a program to add two complex numbers using the
concept of constructor overloading.
4. Write short notes on
(a) Wrapper Classes
(b) Type Conversion
5. Explain applet life cycle with the help of an example.
6. Discuss in detail the interfaces with example.
7. Develop a program that is likely to throw multiple
exceptions that are handled using catch and finally blocks.
0 comments:
Post a Comment
North India Campus