Pregunta de entrevista de IBM

Why is Java considered more secure for online transactions?