15 Exceptions questions from the Java bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.
Free to start: the 2-minute IT readiness check — six questions and a result.
A.an exception subclass of Exception that the compiler forces a method to either catch or declare with throws
B.a Throwable subclass representing serious problems like running out of memory that applications normally should not catch
C.a try statement that declares closeable resources in parentheses and automatically closes them when the block exits
D.a subclass of RuntimeException that the compiler does not require to be caught or declared, typically signaling programming errors
Answer + AI explanation with Pro
2. Which term means: "an exception subclass of Exception that the compiler forces a method to either catch or declare with throws"?
Junior
A.Unchecked exception
B.finally block
C.Error
D.Checked exception
Answer + AI explanation with Pro
3. Which statement is correct?
Junior
A.Checked exception — a subclass of RuntimeException that the compiler does not require to be caught or declared, typically signaling programming errors
B.Checked exception — an exception subclass of Exception that the compiler forces a method to either catch or declare with throws
C.Checked exception — a clause that always executes after a try whether or not an exception was thrown, used to release resources
D.Checked exception — a try statement that declares closeable resources in parentheses and automatically closes them when the block exits
Answer + AI explanation with Pro
4. What is Unchecked exception?
Junior
A.an exception subclass of Exception that the compiler forces a method to either catch or declare with throws
B.a subclass of RuntimeException that the compiler does not require to be caught or declared, typically signaling programming errors
C.a Throwable subclass representing serious problems like running out of memory that applications normally should not catch
D.a try statement that declares closeable resources in parentheses and automatically closes them when the block exits
Answer + AI explanation with Pro
5. Which term means: "a subclass of RuntimeException that the compiler does not require to be caught or declared, typically signaling programming errors"?
Junior
A.Unchecked exception
B.Error
C.Checked exception
D.try-with-resources
Answer + AI explanation with Pro
6. Which statement is correct?
Junior
A.Unchecked exception — a clause that always executes after a try whether or not an exception was thrown, used to release resources
B.Unchecked exception — a subclass of RuntimeException that the compiler does not require to be caught or declared, typically signaling programming errors
C.Unchecked exception — a Throwable subclass representing serious problems like running out of memory that applications normally should not catch
D.Unchecked exception — an exception subclass of Exception that the compiler forces a method to either catch or declare with throws
Answer + AI explanation with Pro
7. What is finally block?
Mid
A.an exception subclass of Exception that the compiler forces a method to either catch or declare with throws
B.a try statement that declares closeable resources in parentheses and automatically closes them when the block exits
C.a clause that always executes after a try whether or not an exception was thrown, used to release resources
D.a Throwable subclass representing serious problems like running out of memory that applications normally should not catch
Answer + AI explanation with Pro
8. Which term means: "a clause that always executes after a try whether or not an exception was thrown, used to release resources"?
Mid
A.Error
B.try-with-resources
C.Unchecked exception
D.finally block
Answer + AI explanation with Pro
9. Which statement is correct?
Mid
A.finally block — a subclass of RuntimeException that the compiler does not require to be caught or declared, typically signaling programming errors
B.finally block — a clause that always executes after a try whether or not an exception was thrown, used to release resources
C.finally block — a try statement that declares closeable resources in parentheses and automatically closes them when the block exits
D.finally block — a Throwable subclass representing serious problems like running out of memory that applications normally should not catch
Answer + AI explanation with Pro
10. What is try-with-resources?
Mid
A.a subclass of RuntimeException that the compiler does not require to be caught or declared, typically signaling programming errors
B.a clause that always executes after a try whether or not an exception was thrown, used to release resources
C.a try statement that declares closeable resources in parentheses and automatically closes them when the block exits
D.a Throwable subclass representing serious problems like running out of memory that applications normally should not catch
Answer + AI explanation with Pro
11. Which term means: "a try statement that declares closeable resources in parentheses and automatically closes them when the block exits"?
Mid
A.Error
B.try-with-resources
C.Unchecked exception
D.Checked exception
Answer + AI explanation with Pro
12. Which statement is correct?
Mid
A.try-with-resources — a try statement that declares closeable resources in parentheses and automatically closes them when the block exits
B.try-with-resources — a subclass of RuntimeException that the compiler does not require to be caught or declared, typically signaling programming errors
C.try-with-resources — an exception subclass of Exception that the compiler forces a method to either catch or declare with throws
D.try-with-resources — a clause that always executes after a try whether or not an exception was thrown, used to release resources
Answer + AI explanation with Pro
13. What is Error?
Mid
A.a subclass of RuntimeException that the compiler does not require to be caught or declared, typically signaling programming errors
B.a Throwable subclass representing serious problems like running out of memory that applications normally should not catch
C.a try statement that declares closeable resources in parentheses and automatically closes them when the block exits
D.an exception subclass of Exception that the compiler forces a method to either catch or declare with throws
Answer + AI explanation with Pro
14. Which term means: "a Throwable subclass representing serious problems like running out of memory that applications normally should not catch"?
Mid
A.Error
B.Checked exception
C.finally block
D.try-with-resources
Answer + AI explanation with Pro
15. Which statement is correct?
Mid
A.Error — a try statement that declares closeable resources in parentheses and automatically closes them when the block exits
B.Error — a Throwable subclass representing serious problems like running out of memory that applications normally should not catch
C.Error — a clause that always executes after a try whether or not an exception was thrown, used to release resources
D.Error — an exception subclass of Exception that the compiler forces a method to either catch or declare with throws
Answer + AI explanation with Pro
Free to start
Start with a free readiness check
Sign up free for the 2-minute IT readiness check and a scored result. Answers, explanations and the AI tutor on every Exceptions question come with Pro.