Java is a back-end language, just like PHP and .net.
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 perfectly implements object-oriented theory and allows programmers to perform complex programming with an elegant way of thinking.
Java consists of four aspects:
(1) Java programming language
(2) Java class file format
(3) Java virtual machine
(4) Java application programming interface [21]
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 Is Java front-end or back-end?. For more information, please follow other related articles on the PHP Chinese website!