Programs now has become an integrated part of our day to day life. Everything is automated now and connected with Iot.
Amongst the programmers the most popular programming languages are c++ ; Java ; Python.
C++ being a fast and compiled programming language has gained popularity and is the first programming language that a programmer learns.
Java is popular due to its platform independence and huge number of desktop applications are developed using Java.
Python is interpreted programming language, it is a modern programming language and it fast types language.
| C++ | JAVA | PYTHON |
|---|---|---|
| Compiled Programming language | Compiled Programming Language | Interpreted Programming Language |
| Supports Operator overloading | Does not support Operator Overloading | Supports Operator overloading |
| Provide both single and multiple inheritance | Provide partial multiple inheritance using interfaces | Provide both single and multiple inheritance |
| Platform dependent | Platform Independent | Platform Independent |
| Does Not support threads | Has in build multithreading support | Supports multithreading |
| Has limited number of library support | Has library support for many concepts like UI | Has a huge set of libraries that make it fit for AI, datascience, etc. |
| Code length is a bit lesser, 1.5 times less that java. | Java has quite huge code. | Smaller code length, 3-4 times less than java. |
| Functions and variables are used outside the class | Every bit of code is inside a class. | Functions and variables can be declared and used outside the class also. |
| C++ program is a fast compiling programming language. | Java Program compiler a bit slower than C++ | Due to the use of interpreter execution is slower. |
| Strictly uses syntax norms | Strictly uses syntax norms | Use of ; is not compulsory. |
| like ; and {}. | like punctuations , ; . |