Java language Overview

Source: Internet
Author: User

The Java language is a high-level programming language introduced by Sun (Stanford University Network, Stanford University web Company) in 1995, initially primarily for small consumer electronics, and later with the advent of the Internet, the Java language has risen rapidly (Java Applets can be run in a browser and become the preferred language for large Internet projects.

April 20, 2009, Oracle US $7.4 billion acquisition of sun, access to Java copyright.

Java is an object-oriented language, there is no object-oriented programming experience of readers need to spend a lot of time to understand the concept of object-oriented concepts, grammar and programming ideas, there is no understanding of the place please insist, spend more time to write code naturally will be enlightened, from the process to the face of the object needs an adaptation period.

Java is not just a programming language, it is a complete platform, has a large library, the shape of the drawing, socket connection, database access and other complex operations to the greatest degree of simplification.

Java is cross-platform, compile, run everywhere, code written on Windows can be ported to Linux without modification, or vice versa.

In the World programming language rankings, Java occupies almost the second place, second only to the C language.


Figure 1 World programming language rankings (February 2015)


Java is a typical object-oriented language, published later than C + +, some of the syntax and ideas also refer to C + +, see the following table:

language Birthday
C language Published in the early 1870s, the American Telephone and Telegraph Company (T) Bell Laboratory officially released the C language in 1978.
C++ On the basis of C, Bell Labs introduced C + + in 1983.
Java Introduced by Sun Company in May 1995.
Python Invented by Guido van Rossum at the end of 1989, the first public release was released in 1991.
Ruby In the 1990s by the Japanese Pine Line Hong Development.


Although the syntax of C + + is found to be too complex and redundant, Java is designed to be as close to C + + as possible, reducing people's learning costs. Java syntax is a "pure" version of the C + + syntax, with no header files, pointer operations (and no pointer syntax), structs, unions, operator overloads, virtual base classes, and so on. Readers with basic C + + can easily switch to Java.

Java is a very broad application:

    • Web development: Java is great for developing large-scale corporate websites, such as Renren, where the web is behind the scenes of Java.
    • Android Development: Android mobile apps are almost always developed in Java, such as QQ, UC Browser.
    • Client development: Java can also be used to develop software on computers, such as Elicpse, Netbeans.
    • Embedded applications: Embedded applications are software that runs in small electronics, such as software on older phones and software on MP3.


However, it is a responsibility to tell you that Java is currently the main application direction for Web development and Android development, most IT companies recruit Java programmers are also engaged in these two aspects of work.

Java GUI Library is not good, many users are not accustomed to its interface, Java writes more client resources, more importantly, the Java program must use the virtual machine to run, the operating system does not install the virtual machine by default (the following section will be described in detail). The direct-to-market client-side program for ordinary users is rarely developed in Java.

In the embedded aspect, Java is very difficult to operate the underlying hardware, the flexibility is small, and requires virtual machine support, occupy more resources, for the configuration of a very low microcontroller system is a little laborious. Therefore, in an effort to be efficient, miniaturized, and perform mission-critical applications, it is best to use the assembly and C language, such as rocket control, sensor communication, or the location of the reporting spacecraft.

Although Java is a fully functional language, but it has its own areas of expertise, there are not good at the aspects, we have to learn to choose in specific projects.

Java language Overview

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.