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