Difference between C++ and Java
0 3534
C++ Developed by Bjarne Stroustrup at Bell Labs in 1979 and Java Developed by James Gosling at Sun Micro systems and released in 1995 as a core component of Sun Micro systems' Java platform
Related Tutorial: Learn C++ Online
C++ was designed for systems and applications programming. Java is a pure object oriented programming language. C++ support template classes, but java does not support them.
C++ | JAVA |
C++ is not complete Object-Oriented as language comparison to Java | Java is a complete Object-Oriented language |
Supports native undersigned arithmetic | No native support for unsigned arithmetic |
Conditional inclusion one of the main feature of C++ | Java does not support conditional compilation and inclusion |
C++ uses the only compiler | Java uses both compiler and interpreter |
C++ supports operator overloading multiple inheritances | Java does not support operator overloading multiple inheritances |
C++ supports pointers | Java does not support pointers |
C++ provides header files | Java does not provide header files |
In C++ we can declare global variables | In Java, we can't declare global variables |
Share:
Comments
Waiting for your comments