Pregunta de entrevista de PTC

Why java is more safer than c++