Google News
logo
CPP - Interview Questions
What is the difference between C++ and Java?
* C++ supports goto statements whereas Java does not.
* C++ uses a compiler only whereas Java uses both compiler and interpreter.
* C++ supports multiple inheritance whereas Java does not support multiple inheritance
* Java supports unsigned right shift operator (>>>) whereas C++ does not.
* C++ is majorly used in system programming whereas Java is majorly used in application programming.
* C++ supports operator overloading whereas Java does not support operator overloading.
* C++ has pointers which can be used in the program whereas Java has pointers but internally.
* C++ has both call by value and call by reference whereas Java supports only call by value.
* C++ supports structures and joins whereas Java does not support structure and joins
* C++ is interactive with hardware whereas Java is not that interactive with hardware.
Advertisement