1 | Java binaries are shipped across the network and executed on client machines. Security is therefore a critical issue and strongly enforced in Java. |
2 | Java contains its own networking classes which are designed to be secure |
3 | Modifications of the C++ model such as eliminating pointer arithmetic and coercion were dictated mainly by the security requirements. |
4 | Most viruses are based on acquiring access to private/protected sectors of computer memory which is impossible in Java. |