Learn how to handle Exception using Java

An exception is an abnormal condition which occurs during the running of a program. For example division by zero, invalid array index are the instances of exceptions. It’s better to anticipate such errors in advance and take necessary precautions while writing source code itself.