java--Object-Oriented programming

Source: Internet
Author: User

In object-oriented programming, there can be no further concept of the first step or the second step.  

"Objects and Classes"

  "Relationships between classes and objects" A> Association Relationship  b> Inheritance Relationship (general and special)   c> Aggregation Relationship (whole and part)  d> Realization Relationship  "Java and object-oriented"<1> objects can be considered as the encapsulation of static attributes (member variables) and dynamic properties (methods);The <2> class is a "template" for creating objects of the same type, defining the member variables and methods that the class object should have in a class;<3>J2SDK provides many classes for programmers to use, and programmers can define their own classes.  "Component"A component is an abstraction at a higher level than an object, and can be a combination of multiple objects----component-oriented programming(binary level, C + + Write program can access Java program)----EJB----Web Service----SOA----CORBA----COM  

java--Object-Oriented programming

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.