Difference Between Java and C++

Advertisements

Interface in Java Encapsulation in Java

Difference Between C++ and Java

The main difference between java and C++ is; Java is platform independent language and it is mainly used for design web based application but C++ is platform dependent language and it is mainly used for design desktop application.

JavaC++
Java does't support Pointer conceptIt support pointer concept.
It does't support multiple inheritances.It support multiple inheritance
Java does not include structures or unions.It have structure and union concept.
Java includes automatic garbage collection.C++ requires explicit memory management
Java has method overloading, but no operator overloading.C++ supports both method overloading and operator overloading.
It is platform independent programming languageIt is platform dependent programming language.
It is mainly used for design web based application but also use for develop desktop application.It is used for design only desktop application like OS, Compiler etc.
Java uses compiler and interpreter bothC++ use only Compiler.
Java is high level programming language in java we write code like simple English language.C++ is more nearer to hardware then Java
difference between c++ and java
Interface in Java Encapsulation in Java

Google Advertisment

Buy This Ad Space @$20 per Month, Ad Size 600X200 Contact on: hitesh.xc@gmail.com or 9999595223

Magenet is best Adsense Alternative here we earn $2 for single link, Here we get links ads. Magenet

For Projects 9999595223

Google Advertisements


Buy Websites 9999595223

Buy College Projects with Documentation Contact on whatsapp 9999595223. Contact on: hitesh.xc@gmail.com or 9999595223 Try this Keyword C++ Programs

Advertisements