What is the difference between AutoCloseable and Closeable?
(a) Closeable is an interface and AutoCloseable is a concrete class
(b) Closeable throws IOException; AutoCloseable throws Exception
(c) Closeable is a concept; AutoCloseable is an implementation
(d) Closeable throws Exception; AutoCloseable throws IOException
I had been asked this question in homework.
The doubt is from AutoCloseable, Closeable and Flushable Interfaces in section 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)