In this article you will learn about Exception Handling (try catch, finally and throw).
An exception is a problem that arises during the execution of a program. We have four keywords: try, catch, finally and throw to handle them.
Problem 1: Write normal try/catch blocks.Solution
The SOLID Principles