Question: Which statement is true?Select one:a . Any statement that can throw an Exception must be enclosed in a catch block.b . The Error class is
Which statement is true?Select one:a Any statement that can throw an Exception must be enclosed in a catch block.b The Error class is a RuntimeException.c catchX x can catch subclasses of X where X is a only subclass of RunTimeException.d Any statement included at the finally block must be executed whether an exception occurs or not.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
