Suppose that in Self-Test Exercise 16, the catch block were changed to the
following. (The type MyException is replaced with Exception.) How would
this affect the output?
catch(Exception exceptionObject)
{
System.out.println(exceptionObject.getMessage());
}
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here