What is the output of the following application? A. 2 B. 3 C. 4 D. The code

Question:

What is the output of the following application? 

image text in transcribed

A. 2 

B. 3 

C. 4 

D. The code does not compile. 

E. The code compiles but throws an exception at runtime.

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

Step by Step Answer:

Question Posted: