Home » JAVA Programming » Files and I/O » Question
  1. Which feature of java 7 allows to not explicitly close IO resource?
    1. IOException
    2. AutoCloseable
    3. Streams
    4. try catch finally
    5. None of these
Correct Option: B

Any class that has implemented Autocloseable releases the I/O resources.



Your comments will be displayed only after manual approval.