Robust: Robust simply means strong. Java is robust because:
It uses strong memory management.
It is portable across many operating systems
There is a lack of pointers that avoids security problems.
There is automatic garbage collection in java which runs on the Java Virtual Machine to get rid of objects which are not being used by a Java application anymore.
There are exception handling and the type checking mechanism in Java. All these points make Java robust.
Secure: Unlike C, there are no pointers in Java. The basic use of Pointers is to refer to the actual memory location where the value is stored, and hence enabling the programmer to further modify the actual value.
As java does not consist of pointers, there is no way one can refer to the actual value, and hence the value remains protected or unaltered. Due to these reasons, Java is known as a Secure language.
0 Comments