Multiple Choice
int number;
Boolean done = false;do
{
Try
{
System.out.print("Enter an integer: ") ;
Number = console.nextInt() ;
System.out.println() ;
Done = true;
System.out.println("number = " + number) ;
}
Catch (InputMismatchException imeRef)
{
Str = console.next() ;
System.out.println("Exception "
+ imeRef.toString()
+ " " + str) ;
}
}
While (!done) ;Which exception-handling technique is the code in the accompanying figure using?
A) Terminate the program.
B) Fix the error and continue.
C) Log the error and continue.
D) None of the above.
Correct Answer:

Verified
Correct Answer:
Verified
Q2: During program execution, if division by zero
Q6: Which of the following is NOT a
Q19: Which of the following statements is NOT
Q20: If you have a reference to an
Q23: The class Throwable is derived from the
Q24: The order in which catch blocks are
Q28: The try block contains statements that should
Q38: The class Object is derived from the
Q40: A message is returned by which method
Q43: import java.util.*;<br>Public class ExceptionExample1<br>{<br>Static Scanner console =