Hi HSKrustofsky,
There’s two ways you can look at this:
1. Choose the language that will be better for you as a web developer
2. Choose the language that will be easier to pass (however the extra time you save you can spend on learning web development e.g. PHP).
Looking at the languages, you can kind of see what direction each one will take you:
Java:
Adv (in relation to your needs and in my opinion, if you need general java advantages there’s plenty of books/articles online):
1. Much easier to learn
2. Much more Object Oriented
3. Able to build Java web apps, however how popular are these really?
4. If you ever want to go into mobile apps (strong links to web development…) Android apps are built in Java.
5. Java is sometimes used as a web server. Java web servers have their own adv/disadvantages… I won’t go there.
Dis:
1. That virtual machine is a damn memory hog…
C++:
Adv:
1. Lower level functionality (memory pointers, no naive memory management), you learn much more about what goes on under the hood and can make better performance optimisations.
2. If you ever want to go into games, this is the language to know.
3. Objective-C (which I think is similar) is used to build iPhone/iPad apps.
Dis:
1. That low level functionality will be a real pain to learn at first, debugging can be difficult and the flexibility can mean if you’re not careful you can end up writing some real nasty code.
I personally studied Java at university while in my own time I built games in Actionscript 3, after I went onto create games in C++ and now I am employed as an Actionscript front end web developer while learning PHP to expand my web development knowledge. In my experience Java is probably the better language for you to choose (slightly closer to web development, less headaches and time wasted). However if you’re interested in game development, iPhone/iPad apps or fancy a challenge, choose C++!