Mcq On Java Basic
6. jar stands for _____________.
Explanation: jar stands for Java Archive
7. Which of the following is not a keyword in Java.
Explanation: Incorrect spelling of the word "enum",enum is a keyword in Java.
8. 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.
9. Single line comment starts with _________ in Java.
Explanation: Single line comment starts with /* in Java.
10.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 :