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 46



Share with a Friend

Multiple Choice Questions


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

1. Which JVM component verifies bytecode integrity?
A). Class Loader
B). Bytecode Verifier
C). Interpreter
D). JIT
View Answer
Correct: B




2. Which memory is shared among threads?
A). Stack
B). Heap
C). Registers
D). Local variables
View Answer
Correct: B




3. Which JVM component performs optimization?
A). JIT Compiler
B). Class Loader
C). Verifier
D). Stack
View Answer
Correct: A




4. Which class loader loads user-defined classes?
A). Bootstrap
B). Extension
C). Application
D). System
View Answer
Correct: C




5. JVM follows which architecture?
A). Stack-based
B). Register-based
C). Hybrid
D). None
View Answer
Correct: A