Java Exceptions - Handling exceptions without try catch

前端 未结 4 1770
予麋鹿
予麋鹿 2020-12-24 03:35

In Java, we handle exceptions using try catch blocks. I know that I can write a try catch block like the one below to catch any exception thrown in a method.



        
4条回答
提交回复
热议问题