BPSC TRE – Java Programming & OOP Concepts | Test 2

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 happens when an exception is thrown inside a try block and no matching catch block is found in the current method?

Answers for question 36

Question 37

MCQ · Single Correct 1 mark

Which Java class is the superclass of all Exception and Error classes in Java Exception Hierarchy?

Answers for question 37

Question 38

MCQ · Single Correct 1 mark

Which type of exceptions in Java are NOT checked at compile time and inherit directly or indirectly from java.lang.RuntimeException?

Answers for question 38

Question 39

MCQ · Single Correct 1 mark

In Java NIO.2 (java.nio.file), which interface represents a programmatic path in the file system for locate-and-access file operations?

Answers for question 39

Question 40

MCQ · Single Correct 1 mark

Which method in java.lang.Thread causes the currently executing thread to pause execution for a specified period in milliseconds?

Answers for question 40
Scroll to Top