Pregunta de entrevista de Capgemini

question on basic java ,c and c++.