Java as robust programming languages
Java programs are more reliable. Java provides early checkers for possible problems, later dynamic (run-time) checking, and eliminating situations that are error.
The single biggest difference between Java and C/C++ is that Java has a pointer model that eliminates the possibility of overwriting memory and corrupting data. The Java compiler detects many problems that, in other languages, would show up only at run time.