| <-Pre | Home | Next-> |
>Java does not support global variables. Every variable and method is declared within a class and forms part of that class.
>Java does not have template classes as in C++
>Java does not support multiple inheritence of classes. This is accomplished using a new feature called “inheritence”.
>Java does not use pointers.
>Java has replaced the destructor function with a finalize() function.
There are no header files in Java.
>Java also adds some new features.
While C++ is a superset of C,Java neither a superset nor a subset of C or C++.
Pre->exceptions | Next->OOPS |
*****Please feel free to give feedback at shrawan.iitg@gmail.com and comment below *****
No comments:
Post a Comment