Pergunta de entrevista da empresa KPMG

Basic question on java development