C++ or Java???

@djemba (767)
India
February 4, 2009 9:50am CST
I just started learning about java and i am quite an expert in c/C++..But all I've read about java is that its a better language because it doesn't require compilation every time used on another platform because once interpreted it creates a byte code that's standard for all platforms...Is this correct?? So Which is a better programming language according to you????
5 responses
@user_786 (1338)
4 Feb 09
Both Java and C++ are good languages. Java and c++ are some of the most used programming language in the world. C++ is very similar to Java except that Java has some new libraries, features, etc. C++ has improved a lot. VC++ and C++ .NET are great platform to develop great applications with these 2 languages. .NET has similar feature like Java's JVM which allows application to be created to run on different platform. VC++ and Borland C++ and other C++ versions are not providing virtual machine like options.
@djemba (767)
• India
4 Feb 09
Thanks for that info..It was much required and i think I'll move to learning java, now that i know its better and posses greater no. of libraries and features..
• Philippines
12 May 09
well, probably i also prefer to use assembly language than C++ or java.. you know why?? the more the language less known, the higher it demands..so i prefer to study more on assembly language..
• United States
11 May 09
C++ is much much better there is so much more you can do with it. Then again im not sure what you use it for.
• China
16 Mar 09
now there is a big quarrel between people who like java and who prefer c++ . java is "write once ,use anywhere " and it has a more entire 'object oriented' c++ can controle the underlayer easier and have a bigger market in windows applications. in my opinion,java is good to learn ,i like it
• India
13 Mar 09
hey djemba.....till now i have been carrying on with C++.....i have really enjoyed programming on it......i think i have learnt the language quite deeply.....but now i am thinking about starting to learn java......since i dont know much about java..... cant compare the two languages.....only after i learn it deeply too i'lll be able to choose either of the two for myself......anyways happy mylotting
@elasolova (144)
• Turkey
12 Mar 09
I think Java is neater. You only work with classes, but in C you can also work outside the class which makes it a bit more complicated. I prefer Java for this reason. Also, there is no need to worry about pointers.