The question has been closed for the following reason "Duplicate Question" by trueb Jun 29 '10 at 20:44
Learn both. :)
You can learn them both as part of 2 courses on programming made free by Stanford University. http://see.stanford.edu/see/courses.aspx
The Programming Methodology one teaches Java, but more importantly teaches good software engineering habbits and techniques so I would recomment starting with it. The Programming Abstractions one teaches C++, but is slightly more advanced in programming so its better to do as a carry on from doing the Java course.
answered Jun 29 '10 at 20:45
i would say go with C++ it is my language of choice, well C is actually, but C++ is closely related in syntax and functionality i also like to do some assembly.
dont get me wrong Java is a nice language and you can do a lot with it, but i feel you can do more with knowing C, with C you can program most embedded devices such as microprocessors.
however Java plays nicer, its a little more forgiving than C or C++, but less universal.
the main idea is to get your foot in the door with a language, once you learn to program in one it is easy to adapt.
answered Jun 29 '10 at 20:40