Sunday 8 May 2011

Difference Between JAVA and C:

                   JAVA is an Object-Oriented language and has mechanism to define classes and objects.
  •   JAVA does not include the C unique statement keywords sizeof and typedef.
  •   JAVA does not contain the data types struct and union.
  •   JAVA does not define the type modifiers keywords auto, extern, register, signed and unsigned.
  • JAVA does not support an explicit pointer type.
  •   JAVA does not have preprocessor and therefore  #define, #include and #ifdef statements can’t be used.
  •   JAVA adds features for Object-Oriented Programming.

No comments:

Post a Comment