Portt interview question

OOP basics