Question: Question: Which of the following statements about Java's exception handling mechanism is TRUE? A) A checked exception is an exception that the programmer must explicitly
Question: Which of the following statements about Java's exception handling mechanism is TRUE?
A) A checked exception is an exception that the programmer must explicitly handle or declare in the method signature.
B) An unchecked exception is an exception that must be caught using a try-catch block.
C) Java's exception hierarchy is defined such that all exceptions must inherit from the Error class.
D) Runtime exceptions are categorized as checked exceptions in Java.
Step by Step Solution
There are 3 Steps involved in it
The detailed answer for the above question is provided below The correct option is A A checked exception is an exception that the programmer must explicitly handle or declare in the method signature R... View full answer
Get step-by-step solutions from verified subject matter experts
