Java is an object-oriented programming language. It inherits the core of the C language object-oriented technology. Java abandons the error-prone pointers (replaced by references), operator overloading, and multiple inheritance (replaced by interfaces) in the C language. Among other features, a garbage collector function is added to reclaim the memory space occupied by objects that are no longer referenced, so that programmers no longer have to worry about memory management.
As a representative of static object-oriented programming languages, Java language perfectly implements object-oriented theory and allows programmers to perform complex programming with an elegant way of thinking.
Java has the characteristics of simplicity, object-oriented, distributed, robustness, security, platform independence and portability, multi-threading, and dynamics. Java can write desktop applications, Web applications, distributed systems and embedded system applications, etc.
Java can be divided into the following three categories, including: Standard Edition (J2SE), Enterprise Edition (J2EE) and Micro Edition (J2ME).
The above is the detailed content of What type of language is java?. For more information, please follow other related articles on the PHP Chinese website!