Accenture Interview Question

about java and other stuffs