Java Features -- It's Portable
Java Features -- It's Portable
- Java language offers a uniform abstract (virtual) machine model which is identical for all platforms. SUN owns the Java Virtual Machine (see online report) -- it is universal while classes can be added by any user.
- Unlike in C/C++ where various integers match the architecture of a physical machine at hand, Java byte, char short, int and long are always of the same size, equal to 8, 16, 16 (unicode), 32 and 64 bits, respectively.
- No header files, preprocessors, #define etc.