Hello,
Because Java compiles as bytecode which then runs inside a Virtual machine, it cannot access the computer it runs on like a natively compiled program can. The general reason why Java is considered to be more secure than, say C, is because it handles memory management for you.
Thank you
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile