How Java Differs From C and C++
How Java Differs From C and C++
Java and C
Java and C
• 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,
extern.
• Java does not support explicit pointer.
• Java does not have a preprocessor and therefore we cannot use #define,
#include statement.
• Java adds many features required for Object oriented programming.
Java and C++