Pergunta de entrevista da empresa Larsen & Toubro

Technological question on Java and current work