Solved

A Java Program Can Handle an Exception in Several Different

Question 28

Multiple Choice

A Java program can handle an exception in several different ways. Which of the following is not a way a Java program might handle an exception?


A) ignore the exception
B) handle the exception where it arises using try and catch statements
C) propagate the exception to another method where it can be handled
D) throw the exception to a predefined Exception class to be handled
E) All of these are valid ways to handle an exception

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions