Exams Attended

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Difference between Java and C++

Java is true and complete Object Oriented Language apart from primitive data type.C++ is an extension of C with object oriented behavior. C++ is not a complete object oriented language as that of Java.
Java does not provide Template classes.C++ offers Template classes.
Java supports multiple inheritance using interface.C++ achieves multiple inheritance by permitting classes to inherit from multiple classes.
Java does not provide global variables.C++ provides global variables.
Java does not support pointers.C++ supports pointers.
In Java, destruction of objects is performed in finalized method.In C++, destruction of objects is performed in destruction function.
Java does not provide header files.C++ has header files.
Is it helpful? Yes No

Get differences from below

©2021 WithoutBook