Sunday, 8 May 2011

Difference Between JAVA and C++:

                 Java is true Object-Oriented language while C++ is basically C with Object-Oriented extension.
  • Java doesn’t support Operator Overloading.
  • Java doesn’t have Template classes as in C++.
  • Java doesn’t support multiple inheritance of classes.
  • Java doesn’t support global variables.
  • Java doesn’t use pointer .
  • There are no header files in Java.

         
    NOTEjava doesn't support multiple inheritance but we can implement it through a special feature called "Interface".

No comments:

Post a Comment