Java is a widely used computer programming language with cross-platform, object-oriented, and generic programming features. It is widely used in enterprise-level web application development and mobile applications. development.
James Gosling and others who worked for Sun Microsystems developed the prototype of the Java language in the early 1990s. It was initially named Oak and was targeted at programming languages and applications for small systems such as home appliances. In the control and communication of household appliances such as televisions, telephones, alarm clocks, and toasters.
Because the market demand for these smart home appliances was not as high as expected, Sun gave up the plan. With the development of the Internet in the 1990s, Sun saw the prospects of Oak being used on the Internet, so it transformed Oak and officially released it under the name Java in May 1995. Java has developed with the rapid development of the Internet and has gradually become an important network programming language.
The style of the Java programming language is very close to the C language. It inherits the core of C language object-oriented technology, discards error-prone pointers and replaces them with references; removes the operator overloading and multiple inheritance features in C and replaces them with interfaces; adds a garbage collector function.
Generic programming, type-safe enumerations, variable-length parameters, and automatic loading/unboxing features were introduced in Java SE 1.5. Sun Microsystems' explanation of the Java language is: "The Java programming language is a simple, object-oriented, distributed, interpretable, robust, safe and system-independent, portable, high-performance, multi-threaded and dynamic language"
Java is different from general compiled languages or interpreted languages. It first compiles the source code into bytecode, and then relies on virtual machines on various platforms to interpret and execute the bytecode, thus having the cross-platform feature of "write once, run anywhere".
In the early JVM, this reduced the running efficiency of Java programs to a certain extent. However, after the release of J2SE1.4.2, the running speed of Java has been greatly improved.
Different from traditional types, Sun regarded Java as an open technology when it launched it. Java development companies around the world are required to design Java software that is compatible with each other. "The Java language relies on the power of the group rather than the power of the company" is one of Sun's slogans and has been recognized by the majority of software developers.
This is completely different from the elite-focused and closed model advocated by Microsoft. In addition, Microsoft later launched the competing .NET platform and the C# language that imitates Java. Later, Sun was acquired by Oracle, and Java became an Oracle product.
Currently, most of the code for the mobile operating system Android is programmed in the Java programming language.
The above is the detailed content of What does JAVA language mean?. For more information, please follow other related articles on the PHP Chinese website!