What is the different between Java and C++ ?
Java is a true object oriented language while C++, is basically C with object oriented extension. Listed below are some major C++ features that were intentionally omitted from java as significant modified.
1. Java does not support operator
2. Java does not support multiple inheritances of This is accomplished using a new features called interface.
3. Java does not support global Every variable and method is declared in a class and forms part of that class.
4. Java does not use
5. Java has replaced the destructor functions with a finalize There are no header lines in Java.
Subscribe to:
Post Comments
(
Atom
)
Hii
ReplyDelete