What is the result?

Given:

What is the result?

Given:

What is the result?

A.
Compilation fails.

B.
78class java.lang.Array.IndexOutOfBoundException

C.
class MarkOutOfBoundException

D.
class java.lang.arrayIndexOutOfBoundException

Explanation:

The exception MarkOutOfBoundsException is already caught by the alternative
ArrayIndexOutOfBoundsException



Leave a Reply 1

Your email address will not be published. Required fields are marked *