BPSC TRE – Java Programming & OOP Concepts | Test 2

Questions 16-20 of 50

0% completed (0/50 answered)
Your score 0/50 0 answered
Correct 0 Incorrect 0 Unanswered 50 Accuracy 0%

Question 16

MCQ · Single Correct 1 mark

What is the memory area in Java Virtual Machine (JVM) architecture where class metadata, method data, and static fields are stored since Java 8?

Answers for question 16

Question 17

MCQ · Single Correct 1 mark

Which Garbage Collection algorithm in modern HotSpot JVM divides the heap into equal-sized regions and performs concurrent marking and compaction?

Answers for question 17

Question 18

MCQ · Single Correct 1 mark

Which class loader in the JVM delegation hierarchy is responsible for loading core Java runtime classes from the java.base module (e.g., java.lang.Object)?

Answers for question 18

Question 19

MCQ · Single Correct 1 mark

In Java 8, what container object is used to represent the presence or absence of a non-null value, helping to prevent explicit null checks and NPEs?

Answers for question 19

Question 20

MCQ · Single Correct 1 mark

In Java 8, which syntax is used to refer to an existing method of a class or object without executing it (e.g., System.out::println)?

Answers for question 20
Scroll to Top