+ 1

Why there is a need to throw IOException ?

20th Mar 2017, 2:38 PM
Prashant Singh
Prashant Singh - avatar
3 Réponses
+ 2
I/O means Input or Output.In java the methods in which an input operation is failed throws IOExeption. This won't be thrown for reading and writing to memory.....Java automatically deals with it.
20th Mar 2017, 3:07 PM
Aniket Dutta
Aniket Dutta - avatar
+ 1
In general, I/O means Input or Output. Those methods throw the IOExceptionwhenever an input or output operation is failed or interpreted. Note that this won't be thrown for reading or writing to memory as Java will be handling it automatically.
20th Mar 2017, 4:36 PM
udara
udara - avatar
+ 1
In general, I/O means Input or Output. Those methods throw the IOExceptionwhenever an input or output operation is failed or interpreted. Note that this won't be thrown for reading or writing to memory as Java will be handling it automatically.
20th Mar 2017, 4:38 PM
udara
udara - avatar