Pregunta de entrevista de Apple

Difference between C++ and Java