One of the Java Basics Object-oriented

Source: Internet
Author: User

Java is an object-oriented programming language, not only absorbs the various advantages of the C + + language, but also rejects the more difficult to understand in C + + inheritance, pointers and other concepts, so Java has powerful and easy to use two features.

Object-oriented programming (oriented programming), a programmatic way to decompose a program into modules that encapsulate data and related operations.

The object-oriented approach does encapsulate attributes and functionality, but its core is collation and abstraction.

By centralizing the relevant attributes and functions and isolating the parts that can be separated, the complex business logic can be cut into a relatively independent part of each other, reducing the difficulty of development.

So object-oriented is not just about getting a class and stuffing a bunch of stuff into it, what really matters is deciding what classes to construct, the associations between them, and where to put something.

One of the Java Basics Object-oriented

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.