Home >Java >javaTutorial >What are the characteristics of java class library?
The characteristics of Java class library are: 1. Simplicity; 2. Object-oriented; 3. Distributed; 4. Interpreted; 5. Reliable; 6. Security; 7. Platform independent; 8. Portable ; 9. High performance; 10. Multi-threading; 11. Dynamic, etc.
#Java is a cross-platform, object-oriented programming language suitable for distributed computing environments.
Specifically, it has the following characteristics:
Simplicity, object-oriented, distributed, interpreted, reliable, safe, platform-independent, portable, high-performance, multi-threaded, dynamic, etc.
Here, the java class library reflects the cross-platform and portability of the java language. "Write Once, Run Anywhere"
Portability: The platform-independent feature allows Java programs to be easily transplanted to different places on the network. machine. At the same time, Java class libraries also implement interfaces with different platforms, making these class libraries portable. In addition, the Java compiler is implemented by the Java language, and the Java runtime system is implemented by standard C, which makes the Java system itself portable.
Cross-platform: Java's cross-platform is realized through corresponding JVMs in different systems. The Java program only needs to be compiled into a class file once to achieve cross-platform execution. In fact, JVMs of different systems interpret class files into the same meaning, achieving cross-platform implementation. However, since C programs have different compilers on different systems, they have to be compiled into different binary files each time they are cross-platform. Therefore, when C is run on different systems, they actually run different programs (the files generated by compilation are different), although their source code are the same, but Java is different. It only compiles once and can be cross-platform.
The above is the detailed content of What are the characteristics of java class library?. For more information, please follow other related articles on the PHP Chinese website!