Getting Started with Java (i)

Source: Internet
Author: User

Java is an object-oriented language, Java is the advantage of C + + is the development of high efficiency, Java has not only a rich class library and open source framework, and its own garbage collection mechanism, greatly reducing the workload of programmers. But Java is not omnipotent, no language is universal. Programmers should choose the right language based on their actual needs.

Object-oriented features, encapsulation, inheritance, polymorphism. Encapsulation refers to the class package properties and methods, the object provides interfaces externally, we only need to invoke the interface to obtain data, do not know the implementation of the method. Inheritance refers to a parent-child relationship between classes, which inherits a subset of the properties and methods of the parent class. Polymorphism refers to the dynamic binding of a method, which is implemented on the basis of inheritance.


This article is from the "Technology Learning" blog, so be sure to keep this source http://jerryisme.blog.51cto.com/8307972/1683835

Getting Started with Java (i)

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.