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
False
B
True
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
Java Debugging Kit
B
Java Developer's Kit
C
Java Decompilation Kit
D
None of these
Question 4
JVM is a _____________ .
A
Compiler
B
Debugger
C
Interpreter
D
Assembler
Question 5
Bytecode is given as input to _______________ .
A
JVM
B
JRE
C
Linker
D
Assembler
There are 5 questions to complete.