main Difference Between Java and C++ - Java is platform independent but C++ is platform dependent language Java is used for design web based application C++ is mainly used for design desktop application.
1. Tutorial4us.com
Difference Between Java and C++
The main Difference BetweenJavaandC++ is;Java isplatformindependentbutC++ isplatform
dependentlanguage Javaisusedfordesign webbasedapplication C++ismainlyusedfordesign
desktopapplication.
Important Points related to Difference between Java and C++
Java isplatformindependent C++isplatformdependentlanguage.
Java have bothcompilerandinterpreterC++ have only compiler.
Java have nopointerconceptC++ have
Java have garbage collectorC++ not.
Java doesn’thave operatoroverloadingconceptC++ have
Java doesn’thave multiple inheritance conceptC++have
Java doesnotsupportunsignedintegerC++have
Java supportsclasses,butdoesnotsupportstructuresor unions.
C++ ismore nearerto hardware thenJava
Java doesnotsupportdefaultargumentsbutC++ have.