📜  为什么 java 是安全的 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:42.658000             🧑  作者: Mango

代码示例1
Java is the most popular object-oriented programming language. 
It provides a variety of salient features that are preferred by the developers.
It is the reason that a billion of devices runs on Java.
In this section, we are going to discuss why Java is secure.

Java is secure due to the following reasons:

Java programs run inside a virtual machine which is known as a sandbox.
Java does not support explicit pointer.
Byte-code verifier checks the code fragments for illegal code that can violate access right to object.
It provides java.security package implements explicit security.
It provides library level safety.
Run-time security check takes place when we load new code.