Difference between C++ and Java

by Yogesh Khanna 01-Jan-16

0 715


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++ use only compiler
Java uses both compiler and interpreter
C++ supports operator overloading multiple inheritance
Java does not support operator overloading multiple inheritance
C++ supports pointers
Java does not supports pointers
C++ provides header files
Java does not provides header files
In C++ we can declared global variables
In Java we can't declared global variables


Share:


Discount Coupons

SEMRush FREE Trial – PRO Account for 14 Days

FREE Pro Account worth $99.95 for 14 Days.



Comments

    Waiting for your comments

Leave a Reply