what's the difference between c++ and java
- C++ is an evolution to C. Which was a system programming language. C++ Added many features to the language to make it object oriented. It became the mainstream programming language for that reason. Java is an evolution of C++, with different goals ( cross platform for instance ). It remove some of the features that make C++ so hard to learn. Simplify others and remove others. - The most important difference is that Java is a memory-safe language, whereas C++ is not. This means that errors in Java programs are detected in defined waysâfor example, attempting a bad cast or indexing an array out of bounds results in an exception.