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

Diff bet c++ and java

30th Dec 2016, 6:12 AM
S.Archana
S.Archana - avatar
3 Answers
0
You can't just list the differences between them. They are not use in the ecosystem and not necessary in the purpose. Stop to always want to list difference of all the languages. They are perhaps thousan of difference between them. From the lowest level with the management of the momery to the conpillation or execution of them. The use of the JVM in some case. It's exactly like asking the difference between a truck or a moto (no offense to any languages).
30th Dec 2016, 8:35 AM
Florian Castelain
Florian Castelain - avatar
0
1. Java requires JVM. 2. Java is safer (some memory problems from C++ are solved). 3. Java class can have only one superclass. 4. Java do not have some features from C++. But it is not the full list (there is no full list), there are plenty of other differences.
30th Dec 2016, 1:17 PM
Daniil Fomichev
0
thnx daniil and florian : )
29th Jan 2017, 2:14 PM
S.Archana
S.Archana - avatar