FIS interview question

Oops concepts