16.  When a method can throw an exception then it is specified by ___________ keyword


finally
throw
throws
catch


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

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

18.  When does Exceptions in java arises in code sequence ?


Run time
Compilation Time
Can Occur Any Time
None of the mentioned


Answer

 Option

Exceptions in java are run-time errors.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

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

20.  Which exception is thrown when an array element is accessed beyond the array size ?


ArrayElementOutOfBounds
ArrayIndexOutOfBoundsException
ArrayIndexOutOfBounds
None of these


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report