c++ vs java? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

c++ vs java?

what is difference between c++ and java ?which is best? tell. when we want to use c++ and java?

5th Jul 2016, 6:54 AM
raju
raju - avatar
7 Answers
+ 4
Google it. I can't write a book in a comment...
5th Jul 2016, 7:09 AM
Mihai Dancaescu
Mihai Dancaescu - avatar
+ 4
C++ is more simple because it is not object-oriented like java. C++ is also faster than java. On the other hand, java is more portable: you can execute your code on any machine that has java installed for some reason( like playing Minecraft). Also, C++ is open-source while java is not. I reccommend you to learn C++ first and then you'll be able to learn java easier. You should use c++ , c# , obj-c for making desktop programs and java for making android apps.
5th Jul 2016, 7:19 AM
Mihai Dancaescu
Mihai Dancaescu - avatar
+ 1
thx
5th Jul 2016, 9:02 AM
raju
raju - avatar
- 1
no problem
5th Jul 2016, 9:06 AM
Mihai Dancaescu
Mihai Dancaescu - avatar
- 1
c+++
7th Jul 2016, 12:34 PM
TheFallenNights
TheFallenNights - avatar
- 3
lol
5th Jul 2016, 7:10 AM
raju
raju - avatar
- 6
say short and sweet
5th Jul 2016, 7:11 AM
raju
raju - avatar