Max.
Marks : 30
Section-A (6×1=6 Marks)
Multiple Choice Questions
1. Out of these packages, which one contains an abstract keyword?
a. [Link] b. [Link] c. [Link] d. [Link]
2. Where does the String Pool get stored?
a. Metaspace b. Java Stack c. Java Heap d. Permanent Generation
3. Which of the following operators can operate on a boolean variable?
A. && B. == C. ?: D. +=
a) C & B b) A & D c) A, B & D d) A, B & C
4. Out of these methods of the String class, which one can be used for testing the strings for
equality?
a. isequals() b. isequal() c. equals() d. equal()
5. Which of the following is not a Java features?
a. Dynamic [Link] Neutral c. Use of pointers [Link]-oriented
6. What is [Link](3.6)
(a) 3.0 (b) 3.9 (c) 4.0 (d) 6.3
Section-B (2×7=14 Marks)
Answer ALL the Questions not exceed two Pages
5. (a) Define Arrays & What are the different types of Arrays ?
. (OR)
(b) Explain about Java API packages and about Naming Conventions.
6. (a) Explain about THREADS .
(OR)
(b) Write a Java Program to implement a simple temperature conversion program?
Section-C (1×10=20 Marks)
Answer any ONE Questions
8. Explain about the Exception and Exception handling in Java.
9. Explain in detailed about Interface and Multiple Inheritance.
******All the Best******