in JAVA by
What is difference between c++ and Java ?

Java C++

1) Java is platform independent C++ is platform dependent.

2) There are no pointers in java There are pointers in C++.

3) There is no operator overloading in java C ++ has operator overloading.

4) There is garbage collection in java There is no garbage collection

5) Supports multithreading Does’nt support multithreading

6) There are no templates in java There are templates in java

7) There are no global variables in java There are global variables in c++
Learn More with Madanswer

Related questions

0 votes
asked Jun 16, 2019 in JAVA by reins.robin