Reproduced
Java Tour (3) What is Java?
Comparison of Java and C and C :
1. Automatic memory management: Java is dynamic for memory allocation and has garbage collection mechanisms.
2, not defined global variables outside the class.
3. The GOTO statement will no longer be used in Java.
4, the pointer is canceled in Java.
5, support the data type of the fixed bit number.
6, runtime system Type compatibility check
7. Java does not support header files, using IMPORT and other types of communication.
8, Java does not include structural and union, all content is packaged in the class.
9. The macro is not supported in Java. It declares a constant through the Final keyword.
10. Java does not support multiple inheritance, which can achieve multiple inheritance functions through interfaces in Java.