Question: In a catch statement, what does the following code do ? System.out.println ( e . getMessage ( ) ) ; Group of answer choices it
In a catch statement, what does the following code do
System.out.println egetMessage ;
Group of answer choices
it prints the error message for an exception
it prints the code that caused the exception
it prints the stack trace
it overrides the toString method
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
