Java MCQ : Java Language Basics (Multiple Choice Questions)
Question 1 |
jar stands for _____________.
Java Archive | |
Java Application Runner | |
Java Archive Runner | |
none of these |
Question 2 |
Which of the following is used to see the details of the compilation.
javac -detail TestExample.java | |
javac -debug TestExample.java | |
None of these | |
javac -verbose TestExample.java |
Question 3 |
Which of the following is not a keyword in Java.
abstract | |
assert | |
boolean | |
finalize |
Question 4 |
Which of the following is not a keyword in Java.
strictfp | |
instanceof | |
emun | |
transient |
Question 4 Explanation:
check out the spelling.
"enum" is a keyword in Java
Question 5 |
/* /* comment 1 */ comment 2 */We can write comment like this in Java Programming.
True | |
False |
Question 5 Explanation:
Nesting of multiple line comment is not allowed
There are 5 questions to complete.