+ 3
How different is java from c++
4 Answers
+ 7
No you don't need to learn C++ to learn Java, but they are related.
Java is strictly object oriented, c++ can bee used in both object oriented and procedural proramming styles.
In java, a great library of functions is avaliable to you from the start. In C++ you may have to get more libraries (or write your own), to for example render a image.
Java is compiled to byte code that run in a virtual machine on windows, linux or mac (if you don't insist on using system specific functions). C++ is compiled into an executable for your operating system, and have to be recompiled for other operating systems if you manage to write portable code.
C++ is faster when it runs faster when it is run by the operating system, Java is slower due to running in a virtual machine, that is run by the operating system.
There is more but lets start with this for now :)
+ 4
I'd say it's the opposite...
+ 2
somebody told me that to learn java you have to necessarily learn c++. kindly tell me is that true
+ 2
@Saif, to your question, it's not always true, if you are already comfortable with the Object Oriented Programming style then you may straight away start with the JAVA as well; I myself did JAVA first. Hope it helps.