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. Max.
INSTRUCTIONS TO CANDIDATE:
1. Section –A, is Compulsory.
2. Attempt any four
questions from Section-B.
SECTION –A
Q.1.
(a) Name the tools that are part of JDK?
(b) What is an Applet? Discus the various attributes of the
<APLET> tag?
(c) What are command line arguments? How are they useful?
(d) What is JVM?
(e) What is difference between unary and binary operator?
(f) With a suitable example explain “While” Lop?
(g) What is a Constructor? Why do we need it?
(h) Differentiate between Method overloading and Method
overriding.
(i) What is an array? How is array in java different from
array in C?
(j) What are the naming Conventions of Packages?
SECTION –B
Q.2.
(a) What is inheritance? Explain
different forms of inheritance.
(b) What is the major difference
between an interface and a clas?
Q.3. (a) What
is a finally block? When and how is it used? Give a suitable example.
(b) Write down the steps involved
in creating an applet?
Q.4. Discus the features of Java?
Q.5. Briefly discus the various methods available in
Graphics clas?
Q.6. Define thread. Explain the life cycle of thread with
example.
Q.7. Write Short notes on:
(a) Type conversion
(b) Java Tokens
0 comments:
Post a Comment
North India Campus