BPSC TRE – Java Programming & OOP Concepts | Test 1

Questions 36-40 of 50

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

Question 36

MCQ · Single Correct 1 mark

What is the main feature of java.util.HashMap in Java?

Answers for question 36

Question 37

MCQ · Single Correct 1 mark

In Java multithreading, how is a new thread started so that it executes its run() method on a separate call stack?

Answers for question 37

Question 38

MCQ · Single Correct 1 mark

Which interface must be implemented to define a task for execution by a Thread in Java?

Answers for question 38

Question 39

MCQ · Single Correct 1 mark

Which keyword in Java provides mutual exclusion by locking an object or block for multithreaded access?

Answers for question 39

Question 40

MCQ · Single Correct 1 mark

Which of the following packages is automatically imported into every Java program without explicit import statements?

Answers for question 40
Scroll to Top