What is the alternative of using finally to close resource?
(a) catch block
(b) autocloseable interface to be implemented
(c) try block
(d) throw Exception
I have been asked this question in my homework.
I'd like to ask this question from AutoCloseable, Closeable and Flushable Interfaces topic in division Session Management, JSP & API of Java
Select the correct answer from above options
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)