FIS interview question

OOP classes and memory management questions