IDBI Intech interview question

Inheritance , how it works amd exception