Domanda di colloquio di IBM

Why is Java considered more secure for online transactions?