Arula interview question

Oops concepts and real time case