Altimetrik interview question

Oop Concept, Basic Programming concept