Pregunta de entrevista de a1qa

Main question was about OOP based question.