GlobalLogic interview question

OOP principles and their implementation