11. Which among following classes is not part of Java’s collection framework ? A. Stack B. Maps C. Queue D. Array ✅ The correct answer is option C.
12. Executable applet is_________________? A. .class file B. .java file C. .java html D. .applet file ✅ The correct answer is option A.
13. All collection classes are available in _________________? A. java.util package B. java.io package C. java.lang package D. java.awt package ✅ The correct answer is option A.
14. After the compilation of the java source code, which file is created by the JVM ? A. .class B. .doc C. .java D. .cdr ✅ The correct answer is option A.
15. Which is the predefined package ? A. Lang package B. util package C. io package D. All of above ✅ The correct answer is option A.
16. How many transaction isolation levels are defined in java.sql.Connection interface ? A. 6 B. 2 C. 5 D. 3 ✅ The correct answer is option C.
17. Which method executes only once ? A. stop() method B. start() method C. init() method D. destroy() method ✅ The correct answer is option C.
18. pow () is associated with which class ? A. Input stream class B. Object class C. Math class D. None of above ✅ The correct answer is option C.
19. A method within a class is only accessible by classes that are defined within the same package as the class of the method. Which one of the following is used to enforce such restriction ? A. Declare the method with the keyword public. B. Declare the method with the keyword private. C. Do not declare the method with any accessibility modifiers. D. Declare the method with the keyword public and private. ✅ The correct answer is option C.
20. Minimum threads in a program are________________? A. 0 B. 1 C. 2 D. 3 ✅ The correct answer is option B.