Chegus Infotech interview question

Oops concepts , exception handling