Java Objective Questions Answers -Chapter 1
-
36. Which type of inheritance is not supported by java
- Single
- Multiple
- Mulilevel
- Hirarchical
Answer And Explanation
Answer: Option B
-
38. Super is the predefined
- Keyword
- Method
- Keyword and Method
- None of above
Answer And Explanation
Answer: Option C
-
39. Execution of the program is always begins with
- Main method
- class contain main method
- parent class
- default package
Answer And Explanation
Answer: Option A
-
40. All methods of interface are public and abstract
- True
- False
Answer And Explanation
Answer: Option A
-
41. In java, gc() method is available in which package
- java.lang package
- java.util package
- java.awt package
- java.io package
Answer And Explanation
Answer: Option A
-
42. JAR file contains the compressed version of
- .java file
- .class file
- .jsp file
- None of above
Answer And Explanation
Answer: Option B