Object-Oriented Fundamentals

Source: Internet
Author: User

A polygon object ( object Oriented,oo) is a software development method. Object-oriented concepts and applications have gone beyond programming and software development to extend to such fields as database system, interactive interface, application structure, application platform, distributed system, network management structure, CAD technology, artificial intelligence and so on. Object-Oriented is a method of understanding and abstraction of the real world, which is the product of the development of computer programming technology to a certain stage.

Object-oriented features

⑴ Abstract. Abstract refers to the emphasis on the nature and intrinsic properties of the entity. In system development, abstraction refers to the meaning and behavior of an object before deciding how to implement it. Use abstraction to avoid thinking about details as early as possible. The class implements the abstraction of the object's data (that is, state) and behavior. ⑵ Encapsulation (information hiding). Encapsulation is the basis of ensuring the good modularity of the software components. An object-oriented class is a well-encapsulated module in which the class definition explicitly separates its description (the user-visible external interface) from the implementation (an internal implementation that is not visible to the user), and its internal implementation provides protection according to the scope it specifically defines. The object is the most basic unit of encapsulation. Encapsulation prevents the change effect of program interdependencies. Object-oriented encapsulation is clearer and more powerful than traditional language encapsulation. ⑶ shared object-oriented technology facilitates sharing of shares in the same class at different levels. objects in the same class have the same data structure. These objects are shared relationships between structures and behavior characteristics. Shared in the same app. In the class hierarchy of the same application, there exists the inheritance of data structure and behavior in each similar subclass of the inheritance relationship, so that the similar subclasses share the common structure and behavior. Using inheritance to implement code sharing is one of the main advantages of object-oriented. Shared in different apps. Object-oriented not only allows sharing of information in the same application, but also prepares conditions for reusable designs for future goals. Through the mechanism and structure of class library, information sharing in different applications is realized. ⒋ emphasizing object structure rather than program structure

Object-Oriented Fundamentals

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.