0

What is the diferance between java and c++?

wondring

16th Oct 2016, 8:29 PM
ghizhaf
2 ответов
+ 1
C++ approach to programming is different from Java. In Java you can set variables and not have to worry about them. Java's Garbage collector will take care of them for you. But in C++ you have to manage your variables and deallocate them. But you don't have to worry about a Garbage collector messing with your variables and slowing down your program. In a nut shell C++ is more involved to work with then Java. But C++ is more efficient then Java is due to the more control you have over it . So this is why you would use C++ where performance is impotent. Hope this helps.
16th Oct 2016, 11:49 PM
Michael Jury
Michael Jury - avatar
0
As I see Java have a platform that support for android But c++ is a hard way to do I dont know what to answer for now
18th Oct 2016, 12:38 PM
JS of MC(not C++ || java)
JS of MC(not C++ || java) - avatar