#11 Mastering Java Understanding return Statements and finally Blocks

preview_player
Показать описание
That is called as return statement Here the catch block unable to handle the exception no issues are there Java tells that if the catch block unable to handle the exception and the finally block having a return statement then exception is implicitly handled Here the program is not terminated It first print I'm in try block I'm in finally block then return word a thirty result is 30
Рекомендации по теме
join shbcf.ru