How
Java is different from C++
1. Java
does not support “goto”, “sizeof”, and “typedef” keywords.
2. Java
does not support keywords like “auto”, “extern”, “register”, “signed”, and
“unsigned”.
3. Java
does not support any pre-processor like #define, #include.
4. Java
does not support operator overloading.
5. Java
does not support template class.
6. Java
does not support multiple inheritance.
7. Java
does not support global variable.
8. Java
does not support pointers as in C++.
9. Java
replace destructor() function with finalize() method.
10. There
are no header files in Java.
11. Java
is a highly case sensitive language.
Comments
Post a Comment