Java is an object-oriented programming language. It not only absorbs the various advantages of the C language, but also abandons the concepts such as multiple inheritance and pointers that are difficult to understand in C. Therefore, the Java language is powerful and easy to use. Two characteristics.
As a representative of static object-oriented programming languages, Java language excellently implements object-oriented theory and allows programmers to perform complex programming with an elegant way of thinking. .
Java has the characteristics of simplicity, object-oriented, distributed, robustness, security, platform independence and portability, multi-threading, and dynamics. Java can write desktop applications, Web applications, distributed systems and embedded system applications, etc.
Working principle
consists of four aspects:
(1) Java programming language
(2) Java class file format
(3) Java virtual machine
(4) Java application programming interface
When editing and running a Java program, these four aspects need to be involved at the same time. Use text editing software (such as Notepad, WordPad, UltraEdit, etc.) or integrated development environment (Eclipse, MyEclipse, etc.) to define different classes in Java source files, by calling methods in the classes (these classes implement the Java API) Access the resource system, compile the source file to generate a binary intermediate code, store it in the class file, and then run the class file by running the Java virtual machine corresponding to the operating system platform environment, execute the bytecode generated by the compilation, and call The methods implemented in the class file satisfy the Java API calls of the program.
The above is the detailed content of What does java mean?. For more information, please follow other related articles on the PHP Chinese website!