BPSC TRE – Java Programming & OOP Concepts | Test 2

Questions 41-45 of 50

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

Question 41

MCQ · Single Correct 1 mark

What state does a Java thread enter when it is waiting to acquire a monitor lock to enter a synchronized block or method?

Answers for question 41

Question 42

MCQ · Single Correct 1 mark

Which keyword in Java prevents a class from being subclassed or a method from being overridden?

Answers for question 42

Question 43

MCQ · Single Correct 1 mark

What is the default initial capacity and load factor of a HashMap in Java if not specified during instantiation?

Answers for question 43

Question 44

MCQ · Single Correct 1 mark

Which class in java.util provides a resizable array-based implementation of Deque and Queue interfaces with no capacity restrictions?

Answers for question 44

Question 45

MCQ · Single Correct 1 mark

Which Java 8 feature allows collection operations to be processed concurrently across multiple threads automatically?

Answers for question 45
Scroll to Top