Pregunta de entrevista de Tata Consultancy Services

Oops concept and its example