Q65
What is the alternative of using finally to close resource?
A.
catch block
B.
autocloseable interface to be implemented
AnswerC.
try block
D.
throw Exception
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board