How is Java more secure than other languages?

Love and Share

Answer:  There are many reasons behind the java’s security, but some of the main points are highlighted below:

 – The first thing is no readability i.e., byte code is executed under JAVA Runtime Environment, (this is more secure, particularly when related to file access Programs). {The Byte code goes through JVM and only JVM can convert byte code to machine readable form that is binary. }

 – Java program runs inside its own virtual machine sandbox.

 – The Virus cannot inject the byte code, JVM doesn’t understand even i te virus take an entrance. ( The virus cannot go inside JVM and manipulate the binary. ).

 – Java does not allocate direct pointers to memory.  (No use of pointers preventing unauthorized access to memory block.)

 – Security-related APIs.

Love and Share

Leave a Reply

Your email address will not be published. Required fields are marked *