Who will handle the "throws IOexception"? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Who will handle the "throws IOexception"?

9th Nov 2016, 2:45 PM
Happy Kukreja
Happy Kukreja - avatar
3 Antworten
0
but if i am using throws then who will handle ?
9th Nov 2016, 4:23 PM
Happy Kukreja
Happy Kukreja - avatar
0
Throws word after the class just indicates that the exception is expected, so you can compile your code without handling it
9th Nov 2016, 5:14 PM
Dago VF
Dago VF - avatar
0
okk thank you
9th Nov 2016, 5:26 PM
Happy Kukreja
Happy Kukreja - avatar