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 37



Share with a Friend

Multiple Choice Questions


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

16. Which memory area stores method calls and local variables?
A). Heap
B). Stack
C). Method Area
D). Disk
View Answer
Correct: B




17. Which JVM component is responsible for loading class files?
A). Execution Engine
B). Class Loader
C). JIT Compiler
D). Garbage Collector
View Answer
Correct: B




18. What does the Class Loader do?
A). Executes code
B). Loads .class files into memory
C). Compiles Java code
D). Deletes unused objects
View Answer
Correct: B




19. Which of the following is TRUE about JVM?
A). It is platform-independent
B). It is platform-dependent
C). It is hardware
D). It is an OS
View Answer
Correct: B




20. Which part of JVM verifies bytecode?
A). Class Loader
B). Bytecode Verifier
C). Execution Engine
D). Interpreter
View Answer
Correct: B