3 AnswersNew Answer
Java runs on the jvm and is platform independent, it is also used for Android developement C++ is faster and can be used for lowlevel developement, game developement and most other tasks
C++ is faster and probably more powerful. Java is platform independent. This means that you can easily port it for different operation systems - however, the Java Runtime Environment has to be installed on the system. (I've never seen a computer that didn't have Java installed, but you get the point) If you're planning to learn either one of the languages, I recommend starting with C++. It will introduce you better to object-oriented programming, data structures and memory management. Understanding the machine is an important aspect of becoming a good programmer.