Language Features
The Java programming language is very close to the C language and C + + language. Java is a purely object-oriented programming language that inherits the core of the object-oriented technology of C + + language. Java discards features such as the C language prone to error pointers (substituted by reference), operator overloading (operator overloading), multiple inheritance (superseded by interfaces), and adds the garbage collector function to reclaim memory space occupied by objects that are no longer referenced. So that programmers no longer have to worry about memory management. In Java 1.5, Java introduced language features such as generic programming (Generic programming), type-safe enumeration, variable-length parameters, and auto-loading/unpacking.
Java differs from the general compilation of the execution computer language and the interpretation of the execution computer language. It first compiles the source code into a binary bytecode (bytecode), and then relies on virtual machines on various platforms to interpret the execution byte code. This enables cross-platform features such as "Compile once, execute everywhere". However, the execution of the compiled bytecode takes a certain amount of time, which in some way reduces the performance of the Java program.
Edit Java source code can use any unformatted plain text editor, on the Windows operating system can use Microsoft Notepad (Notepad), EditPlus and other programs, on the Linux platform can use the VI tools and so on.
Java programming is a profound language---the characteristics of the Java language