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.
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:
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 Fundamentals (1) Language overview