Accenture interview question

OOP questions