1.

Autocloseable was introduced in which Java version?(a) java SE 7(b) java SE 8(c) java SE 6(d) java SE 4I had been asked this question in an online interview.The question is from AutoCloseable, Closeable and Flushable Interfaces topic in division Session Management, JSP & API of Java

Answer»

Right OPTION is (a) java SE 7

Easy EXPLANATION: Java 7 introduced autocloseable INTERFACE.



Discussion

No Comment Found

Related InterviewSolutions