C++ owns Java in real-world applications in BIG companies. Java is good to know in real-world applications in SMALL companies. <<<<< generalization (but that's how it is).
C++ is FASTER than Java, thus used more in BIG companies like I said. Java is something on the side that is good to know. END OF STORY.
C++ > Java
My sources: My friends who thought JAVA was the KING in college, went out into the real-world and were hired as Software Engineers for Apple Computers, Software Engineer Project manager for HP, and Lead Programmer for EA games. ALL three of them now know that C++ owns it all. They always tell me how JAVA doesn't compare to C++.
I was shocked too because they were Java fanboys in college... LOL