Java Exception Handling Basics - Try and Catch Blocks Explained by Example - APPFICIAL

preview_player
Показать описание
Java Exception Handling Basics - Exceptions are handled using try-catch blocks of code. You surround the code where something can go wrong with a try block (where the exception is “thrown”). The code that you want to happen if something does go wrong goes in the catch block (also called a handler)

Don't forget to click LIKE and SUBSCRIBE if you liked this video!
Комментарии
Автор

Please SUBSCRIBE! More programming videos coming soon! ✌️

Appficial
Автор

So if the catch block doesn't specify the kind of exception that was thrown what happens?

MsAshaanderson