PrepAway - Latest Free Exam Questions & Answers

What problem may be encountered?

Given the following code: What problem may be encountered?

PrepAway - Latest Free Exam Questions & Answers

A.
The closing of the collection may throw an exception.

B.
The collection should throw a DfException if it is null, to ensure the collection is closed.

C.
If the collection is null in the finally block, the collection will never be closed.

D.
There is no problem encountered in the code.


Leave a Reply