What is the difference between Java and C language ?
1. Java does not support the C statement keywords ‘goto,size-of, and typedef’.
2. Java does not contain the data type ‘struc,nuion, and enum’.
3. Java does not define the type modifier keywords ‘auto, extern, requester signed and unsigned’.
4. Java does not support an ‘explicit pointer type’.
5. Java does not have a preprocessor cannot define ‘#define, #include, #ifdef’.
6. Java does not support any mechanism for defining ‘variable argument to function’.
7. Java adds new operator such as instance of and >>>.
8. Java adds labeled brake and continues statement.
9. Java adds many features required for OOP.
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment