Java Basics Java Language overview _java

Source: Internet
Author: User

The Java language is an advanced programming language launched by Sun (Stanford University Network, Stanford University Network Company) in 1995, initially primarily on small consumer electronics, and then with the advent of the Internet, the Java language is booming (Java Applets can be run in browsers and become the preferred language for large Internet projects.

April 20, 2009, the United States Oracle 7.4 billion U.S. dollars acquisition of Sun, to obtain Java copyright.

Java is an object-oriented language, without object-oriented programming experience, readers need to spend a lot of time to understand object-oriented concepts, grammar and programming ideas, there is no understanding of where you must insist that more time to write code will suddenly see the 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, with a large library, such as graphics, 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, and vice versa.

In the world's programming language rankings, Java occupies a second place, second only to the C language.

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

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

Java is very widely used:

1.Web Development: Java is very suitable for the development of large-scale corporate web sites, such as Renren, where to go to the background of the network are java.
2.Android Development: Android mobile apps are almost all developed in Java, such as QQ, micro-mail, UC Browser.
3. Client development: Java can also be used to develop software on your computer, such as Elicpse, Netbeans.
4. Embedded applications: Embedded applications are software that runs in small electronic products, such as software on older phones, and software on MP3.


However, you can responsibly tell you that Java is currently the main direction of application of Web development and Android development, most IT companies recruit Java programmers are engaged in both aspects of the work.

Java GUI Library is not good, many users are not accustomed to its interface, Java writing client resource consumption is also more, more importantly, the Java program must rely on virtual machines to run, the operating system does not install the virtual machine by default (the next section will be described in detail). Direct market-oriented client programs for ordinary users, with little Java development.

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

Although Java is a full-featured language, but it has its own good aspects, there are not good at the aspect, we should learn to choose in specific projects.

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.