1.  Exception is subclass of __________ class


Exception
Throwable
RuntimeException
IOException


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

2.  If a statement tries to divide by zero which exception is thrown ?


ArithmeticException
NullPointerException
NumberFormatException
None of these


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

3.  If an exception is generated in try block. then it is caught in


finally
throw
throws
catch


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

4.  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

5.  The exception class is in __________ package


java.file
java.io
java.lang
java.util


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report