Nagarro Interview Question

How the exceptions are handled in java?