Java language features is:
Strong type, developed a more language specification, as far as possible in the compilation phase to detect more errors and warnings.
Compiles and interprets, first compiling the source code into Codebyte, running the Java runtime system to load and link the classes that need to be executed, and doing the necessary optimizations to explain the execution of the bytecode program.
Automatic garbage collection, which automatically collects memory that is no longer in use by the system.
Object-oriented, using object-oriented thinking methods. The main features are encapsulation, inheritance, polymorphism and so on. The
is platform-independent and compiles once to run across platforms, provided the Java interpreter is installed on the platform.
Security, do not allow the use of pointers, array subscript out-of-bounds detection, memory auto-recovery to avoid missing or repeatedly free memory.
Distributed computing, where Java programs can access files on the network as if they were local files.
Multithreading. Support Multithreading.
Java applications differ from Java applets : Java applets need to be run in a Java-compatible container, such as in a browser, or on a website that is downloaded. However, Java applets cannot access files on the computer. Java applications do not have these limitations. The Java application must define the main () function in a subclass, and the Java applet does not have to define the main () function, but the subclass must inherit the Applate class. Java applications can inherit the Applate class, or they can inherit other classes. The
Java identifier supports Chinese characters.
data type: logical Type: Boolean, character type: char integer: int 32 bit, byte 8 bit, short 16 bit, long 64 bit; floating-point type: single-precision-FLOAT&N Bsp 32-bit, double-64-bit