Loading…
Loading…
Ten exam-style questions on the Throwable hierarchy, checked versus unchecked exceptions, handle or declare, throw versus throws, unreachable code and catch blocks, exception rules for overriding and constructors, custom exceptions and printing exceptions, with explanations.
Practice questions for the article Java Exceptions: Checked vs Unchecked, the Throwable Hierarchy and Overriding Rules.
For every exception you see, first decide whether it's checked. Aim for at least 8 out of 10.
Quiz path: step 76. Take the quizzes in this order, after reading each article.
Previous quiz: Chapter 10 Review: Streams (OCP 21)
Next quiz: Common Exception Classes (OCP 21)
10 questions · pass at 68%
Check your understanding; you see the answers and explanations after submitting.
Discussion
Sign in to ask a question or share what you learned.