What are the differences between C++ and Java? - LearnHowToCode SarkariResult.com Interview Questions and Answers LearnHowToCodeOnline
What are the differences between C++ and Java?

What are the differences 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.
Java
C++
Java does't support Pointer concept
It support pointer concept.
It doesn't support multiple inheritances.
It supports multiple inheritances
Java does not include structures or unions.
It has 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 a platform independent programming language
It is platform dependent programming language.
It is mainly used for design web-based application but also useful for developing a desktop application.
It is used for design only desktop application like OS, Compiler, etc.
Java uses compiler and interpreter both
C++ use the only Compiler.
Java is a high-level programming language in java we write code like simple English language.
C++ is nearer to hardware than Java


About Mariano

I'm Ethan Mariano a software engineer by profession and reader/writter by passion.I have good understanding and knowledge of AngularJS, Database, javascript, web development, digital marketing and exploring other technologies related to Software development.

0 comments:

Featured post

Political Full Forms List

Acronym Full Form MLA Member of Legislative Assembly RSS Really Simple Syndication, Rashtriya Swayamsevak Sangh UNESCO United Nations E...

Powered by Blogger.