Java Object-Oriented understanding

Source: Internet
Author: User

Java is an object-oriented programming language (oriented Programming,oop), which is a sentence that every programmer who learns Java should first understand deeply.

The reason why we are decomposing from nature into various concepts and classifying them by their meanings is mainly because we are participants in the agreement that the entire oral communication society adheres to, and this agreement is fixed in the form of language ... We cannot talk at all unless we endorse the organization and classification of language information in the provisions of this Agreement.

--benjamin Lee Whorf (1897~1941)

In computer programming, it is also the decomposition of programming, the formation of a variety of concepts, and according to its meaning to create a corresponding type, and each type can be derived from countless objects, (like the human type, can be derived from countless individuals this object). In each object, there will be the relevant agreed behavior method, which constitutes a common order.

If you have a deep understanding of the concept of object-oriented programming languages, you will be pleasantly surprised to find that writing Java programs is usually much simpler and easier to understand than a type-oriented program.

For the understanding of the object, the following mapping, can be a good help to understand the concept of object-oriented.

Classes in the Human →java program

Objects in a human →java program

Nice look. Object variables in the →java program

Eat, Sleep, →java. Methods in the program

For programming languages, a deep understanding of the essence of language is at the heart of every senior developer. In the absence of understanding the Java language under the premise of development, many times is to move bricks.

And the following course, is through a step-by-step decomposition of the core of Java inside the idea, to let people learn the internal strength of Java heart, first repair center, and then repair moves.

More content:

Java Thinking | Break Easy Station

Java Object-Oriented understanding

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.