C Programming Multiple Choice Questions (MCQ) | IT Developer <?php echo $page_title; ?>
IT Developer

Java Programming Multiple Choice Questions (MCQ)

Introduction to Java - Multiple Choice Questions (MCQ) - Set 36



Share with a Friend

Multiple Choice Questions


Java - Introduction to Java - Multiple Choice Questions (MCQ) - Set 36

11. Which component converts Java bytecode into machine-specific code at runtime?
A). JVM
B). JDK
C). JIT Compiler
D). Class Loader
View Answer
Correct: C




12. What is the main role of JIT compiler?
A). Compile source code
B). Interpret bytecode line by line
C). Convert frequently used bytecode into native code
D). Load classes
View Answer
Correct: C




13. Which of the following is NOT part of JRE?
A). JVM
B). Class Libraries
C). Compiler
D). Runtime Environment
View Answer
Correct: C




14. Java execution is considered hybrid because:
A). It uses only compilation
B). It uses only interpretation
C). It uses both compilation and interpretation
D). It uses assembly
View Answer
Correct: C




15. Which memory area stores objects in Java?
A). Stack
B). Heap
C). Register
D). Cache
View Answer
Correct: B