Computer Science, asked by valaliniK9ad, 1 year ago

difference between c++ and java

Answers

Answered by amruthadeshpande
1

1) C++ supports pointers whereas Java does not

2) C++ supports operator overloading,multiple inheritance but java does not.

3) Java is platform independent language but c++ is depends upon operating        system, machine etc.

4) Java uses compiler and interpriter both and in c++ their is only compiler

5) C++ is more nearer to hardware then Java

6) java has premitive data type like boolean which are not available in c++



amruthadeshpande: plss mark it as brainliest...
Answered by vee1
0
C++ has pointers java does not.

Java is the platform independent as it works on any types of operating system.

Java has no pointers where C++ has pointers.

Java has garbage collection C++ does not.
Similar questions