Pergunta de entrevista da empresa Cognizant

Departmental as well a java program on variance