What is the output of the following application? A. 0 B. Caught! C. The code does not

Question:

What is the output of the following application? 

image text in transcribed

A. 0

B. Caught!

C. The code does not compile because LostBallException is not handled or declared in the main() method.

D. The code does not compile because ArrayIndexOutOfBoundsException is not handled or declared in the toss() method.

E. The code does not compile for a different reason.

F. None of the above.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: