Differences between C++ and Java | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Differences between C++ and Java

9th Jan 2017, 2:02 AM
Vatsal Gupta
Vatsal Gupta - avatar
2 Answers
+ 3
C++ tends to be lower level, it is also 100% compiled. Java is JIT compiled which gives it a lot more overhead. C++ tends to have a lower memory footprint and can be faster. Java is completely object oriented and has a great cross platform story. Java has garbage collection. Newer versions of C++ have smart pointers but they're not always used or required.
9th Jan 2017, 3:13 AM
James Durand
James Durand - avatar
+ 1
You can see best answer here http://cs-fundamentals.com/tech-interview/java/differences-between-java-and-cpp.php http://www.javatpoint.com/cpp-vs-java Read both URL. After reading you have any question you can ask me here.
9th Jan 2017, 5:07 AM
Avanish Kumar
Avanish Kumar - avatar