Exception Handling in Java
In the previous blog, we understood what exceptions mean. But how do we stop exceptions from crashing our application?? In this blog, we will find the answer to this question. try-catch-finally Let us see try-catch-finally in action. Note: Although finally block contains important clean-up code(like closing a database connection), it is optional. There can be … Read more