| Well, it's difficult to generalize and declare that either is outright 'better' than the other. The question that you should be asking is, 'which language can better suit my needs?'
First of all, this is my opinion only, but I do believe that for someone who is new to both languages, Java is likely easier to learn (although I did learn C++ first, so this might have facilitated my Java learning process). A lot of schools, though, do teach Java before C++, which shows that Java is perhaps a better language to learn first.
One major difference between Java and C++ is that the former, unlike many programming languages, cannot be compiled to native code; instead, a Java programme is compiled to byte code and requires Java Virtual Machine on the end-user's computer to run. A C++ programme, in contrast, can run without any supporting framework/software/etc.
I highly recommend learning both languages or at least doing more research on them using Google. |