Pregunta de entrevista de Amadeus

Questions on Java and C++ basically.