BPSC TRE – Java Programming & OOP Concepts | Test 2

Questions 11-15 of 50

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

Question 11

MCQ · Single Correct 1 mark

Which interface in java.io package must a Java class implement to enable object serialization into a byte stream?

Answers for question 11

Question 12

MCQ · Single Correct 1 mark

In Java concurrency, what interface in java.util.concurrent package represents a task that returns a result and may throw a checked exception?

Answers for question 12

Question 13

MCQ · Single Correct 1 mark

Which interface in java.util.concurrent provides a high-level framework for managing and executing asynchronous tasks using worker thread pools?

Answers for question 13

Question 14

MCQ · Single Correct 1 mark

What object in java.util.concurrent represents the pending result of an asynchronous computation submitted to an ExecutorService?

Answers for question 14

Question 15

MCQ · Single Correct 1 mark

Which concurrency utility in Java allows one or more threads to wait until a set of operations performed in other threads completes before proceeding?

Answers for question 15
Scroll to Top