Accenture interview question

General programming related questions, OOP concepts