Question: The following catch statement: catch ( Exception e ) { . . . } Group of answer choices can handle all exceptions that are instances
The following catch statement:
catch Exception e
Group of answer choices
can handle all exceptions that are instances of the Exception class, but not a subclass of Exception
is an error since no objects are instantiated in the Exception class
can handle all exceptions that are instances of the Exception class or a subclass of Exception
can handle all throwable objects by using a polymorphic reference as a parameter in the catch clause
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
