java Origins: SUN (full name Stanford University Network, later acquired by Oracle Company for $7.4 billion) the company's engineers to consider the complexity of C + +, so the use of C + + developed a new platform--oak (oak) platform, the main designer for James Gosling later, Oak was supported by Scott McNealy, Sun's chief executive, and formally renamed Oak to Java for better promotion.
Three directions for Java development:
J2SE: contains the classes that make up the core of the Java language, such as database connections, interface definitions, data structures, input and output, and network programming, which are among the three most basic.
J2ME: for consumer electronics software development, such as mobile phones, smart cards, and so on, Android is written in Java.
Java ee: This can be said to be the most top-of-the-range developer, with more content than J2ME, including classes for developing enterprise applications.
Among them, the relationship between the three is
It can be seen that J2SE is the foundation of the EE and J2ME.
Language features of Java:
Concise and effective: Java derives from C + +, but omits all the incomprehensible features in C + +, such as header files, pointers, structures, cells, operator overloads, virtual base classes, and so on.
portability: written programs can be run without modification on Windows, MacOS, UNIX and other platforms to "write once, run everywhere."
Object-oriented: Java is a fully object-oriented language.
Explanatory: Java interprets Java code by running the Java interpreter on different platforms (Java has a corresponding interpreter for each of the different operating platforms).
Suitable for distributed computing: Java is suitable for the development of Public Gateway Interface (CGI) scripts, which can be used to build richer Web pages using Java Server Pages (Java server page,jsp), server, and so on.
Java is a compile-and-interpret language:
compiled type: For example, such as VB, C and other languages, after compiling will appear one. EXE file after execution.
explanatory: like ASP language, directly put the code on the server for interpretation and execution.
Java's code-handling process is this:
The image is vivid, Java first compiles the code into a class file, then interprets the execution on the virtual machine, and other Java knowledge is explained later.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Essential Java Fundamentals