0
Try / Catch trouble
Anyone want to explain how to use try and catch in Java? How is it used? how is it superior to if/else?
1 Resposta
+ 1
You have to try/catch if you use an statement that could cause (throw) an exception.
Further information:
https://docs.oracle.com/javase/tutorial/essential/exceptions/handling.html