Pregunta de entrevista de Infosys

Difference between c++ and java