1.

Which of the below is a child interface of Autocloseable?(a) Closeable(b) Close(c) Auto(d) CloneableThe question was asked in my homework.The query is from AutoCloseable, Closeable and Flushable Interfaces in division Session Management, JSP & API of Java

Answer»

Right answer is (a) Closeable

For explanation I WOULD SAY: A closeable interface EXTENDS autocloseable interface. A Closeable is a SOURCE or DESTINATION of data that can be closed.



Discussion

No Comment Found

Related InterviewSolutions