Who will handle the "throws IOexception"? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Who will handle the "throws IOexception"?

9th Nov 2016, 2:45 PM
Happy Kukreja
Happy Kukreja - avatar
3 Respostas
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