21.  Which keyword is used to specify the exception thrown by method ?


catch
throws
finally
throw


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

22.  Which keywords is used to monitor statement for exception ?


try
catch
throw
throws


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

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

24.  Which of the following blocks execute compulsorily whether exception is caught or not.


finally
catch
throws
throw


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

25.  Which of the following must be true of the object thrown by a throw statement ?


It must be assignable to the Throwable type
It must be assigned to the Error type
It must be assigned to the Exception type
It must be assignable to the String type


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report