16.  Which block gets executed compulsory whether exception is caught or not.


finally
throw
throws
catch


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

17.  To create our own exception class, we have to __________


Extend exception class
Create our own try and catch
use finally block
Use throws keyword


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

18.  In case of multiple catch blocks, __________


The superclass exception must be caught first
The superclass exception can not caught first
Either super or subclass can be caught first
None of these


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

19.  When an array element is accessed beyond the array size, __________ exception is thrown


ArrayElementOutOfLimit
ArrayIndexOutOfBoundsException
ArrayIndexOutOfBounds
ArrayElementOutOfBounds


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

20.  Which method is used to print the description of the exception ?


printStackTrace()
printExceptionMessage()
printStackMessage()
printExceptionTrace()


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report