Virtusa Interview Question

types of exceptions and a program for an exception