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 50



Share with a Friend

Multiple Choice Questions


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

21. Which phase replaces symbolic references with direct references?
A). Loading
B). Preparation
C). Resolution
D). Execution
View Answer
Correct: C




22. What is the role of the Program Counter (PC) register?
A). Stores objects
B). Stores method calls
C). Keeps track of current instruction
D). Manages memory
View Answer
Correct: C




23. Which memory area stores class-level data such as static variables?
A). Heap
B). Stack
C). Method Area
D). Cache
View Answer
Correct: C




24. Which memory area stores objects and instance variables?
A). Stack
B). Heap
C). Method Area
D). Register
View Answer
Correct: B




25. Which JVM component interacts with native code?
A). JNI (Java Native Interface)
B). JIT
C). Class Loader
D). Verifier
View Answer
Correct: A