Java MCQ : Java Compilation (Multiple Choice Questions)


Question 1
Java is called as platform independent language. Do you agree with this statement ?
A
Yes
B
No
Question 2
We can run same java program on different environment with same JDK Version.
A
True
B
False
Question 2 Explanation: 
We need different JVM because JVM is different for different OS. JVM understands the compiled code.
Question 3
JDK in Java stands for ___________.
A
None of these
B
Java Debugging Kit
C
Java Developer's Kit
D
Java Decompilation Kit
Question 4
JVM is a _____________ .
A
Debugger
B
Assembler
C
Interpreter
D
Compiler
Question 5
Bytecode is given as input to _______________ .
A
JRE
B
Linker
C
JVM
D
Assembler
There are 5 questions to complete.