1.

Which exception is thrown by read() method?(a) IOException(b) InterruptedException(c) SystemException(d) SystemInputExceptionI had been asked this question in quiz.Query is from Reading Console Input topic in section I/O & Applets of Java

Answer»

Right choice is (a) IOException

Easiest EXPLANATION: read METHOD THROWS IOException.



Discussion

No Comment Found

Related InterviewSolutions