Syntax

This lesson briefs the syntax of using exceptions using try/catch blocks.

We'll cover the following...

Suppose in integer division, we have been given the first integer as 4 and the other as 0, which is practically not possible. So, in a situation like this, the compiler doesn’t know what to do. The system may hang. To overcome these types of situations ...