What is the output of the following application? A. 12 B. 21 C. The code does not

Question:

What is the output of the following application? 

image text in transcribed

A. 12

B. 21

C. The code does not compile because of the MyDatabase nested class.

D. The code does not compile because of the try-with-resources statement.

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

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

Step by Step Answer:

Question Posted: