Infosys interview question

What is exception handling in Java? Write a program to demonstrate.