Accenture interview question

Very specific questions on core java