Friday, July 3, 2015

Java's security than other languages


Java is much more Secure than other languages like C and C++.


Following are the reasons support this fact:


1) There are no pointers in java: pointers directly access memory location.so, any one can write erroneous program to harm your data stored in computer memory. 

2) Memory management: feature so there are no memory leaks.

3) Garbage Collection: Java Virtual Machine (JVM) is responsible for collecting the memory which is not in use like when objects go out of scope they are not useful, then JVM collects the memory occupied by the object.

4) Exception Handling: Exception is a Run-time error in program which comes due to logical errors in program like Divide by zero etc. Exception is a class in java.

5) Crash recovery: Program written in java never crashes. It terminates successfully.

Also,Extra security is provided for java applets.Applets can not access local files on your system. 


For more information please refer: 


http://java.meritcampus.com/t/76/Java---other-features?tc=mm84


http://java.meritcampus.com/t/73/Java-and-internet?tc=mm85


No comments:

Post a Comment