Virtusa interview question

types of exceptions and a program for an exception