Home » JAVA Programming » Files and I/O » Question
  1. Which of these exception is thrown by close() and read() methods?
    1. FileInputOutputException
    2. FileNotFoundException
    3. FileException
    4. IOException
    5. None of these
Correct Option: D

Both close() and read() method throw IOException.



Your comments will be displayed only after manual approval.