The history of the Java language is rich and colorful, and it is now widely used by many programmers and enterprises. There is no doubt that this is the result of Java's leading technology.
Java is a programming language developed by Sun. Sun's initial direction was to use Java to develop programs for some electrical devices, such as set-top boxes and bus cards. Sun never expected that Java would attract so much corporate attention, so It continued to expand in the direction of network programming, but now has Java EE and Java Me.
The origin of Java's name is actually an interesting story.
The Java logo we see is always a cup of hot coffee. It is difficult to associate this cup of hot coffee with computer programming. The origin of this cup of hot coffee and the name Java was inspired by one of the members of the Java founding team. He remembered that he had drunk a delicious coffee on Java Island (Java Island), so this kind of computer programming The language is named Java, and its logo is the most familiar cup of hot coffee.
Advantages of Java
1. Cross-platform, as long as the operating system has a JVM (Java Virtual Machine), you can run JAVA programs;
2. Safety; 1. Abandon dangerous pointers;
2. Automatic internal management mechanism and garbage collection mechanism, which are recycled by the garbage collector, reducing the burden on the program and avoiding the danger of manual recycling;
3. Completely object-oriented;
4. Simple, eliminating many practical parts of C++, making it easy to get started and providing a large number of class libraries;
5. Robust: mandatory type mechanism, exception handling mechanism, automatic garbage collection.