Java Programming MCQ - Basics
11. Default, public , protected, private are?
Explanation: Access Modifiers : default, public , protected, private
12. jar stands for _____________.
Explanation: jar stands for Java Archive
13. Which of the following is not a keyword in Java.
Explanation: Incorrect spelling of the word "enum",enum is a keyword in Java.
14. Which of the following is not a keyword in Java.
Explanation: Final class can't be inherited, final method can't be overridden and final variable value can't be changed. Finally is used to place important code, it will be executed whether exception is handled or not. Finalize is used to perform clean up processing just before object is garbage collected.
15. What is JRE?
Explanation: Java Runtime Environment is an implementation of the Java Virtual Machine which executes Java programs. It provides the minimum requirements for executing a Java application.
Also check :