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 51



Share with a Friend

Multiple Choice Questions


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

26. JNI allows Java programs to:
A). Compile faster
B). Call native code written in other languages
C). Execute bytecode
D). Load classes
View Answer
Correct: B




27. Which JVM component is responsible for memory management?
A). Class Loader
B). Garbage Collector
C). Interpreter
D). Compiler
View Answer
Correct: B




28. Garbage Collector primarily works in which memory area?
A). Stack
B). Heap
C). Register
D). Disk
View Answer
Correct: B




29. Which statement is true about JVM architecture?
A). Register-based
B). Stack-based
C). Hybrid
D). None
View Answer
Correct: B




30. Which of the following is NOT a JVM memory area?
A). Heap
B). Stack
C). Method Area
D). Source Area
View Answer
Correct: D