Accenture interview question

Basics of programming. Mainly OOPs