Java programming is a profound language---the characteristics of the Java language

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.