terminology :

UML: Unified Modeling Language
class: the term used for kind of object
object: instance of class that can be associated with each other

attributes and behaviors: orange's weight is attribute. Attributes are frequently referred to as members or properties, usually that attributes are settable, while properties are read-only.

primitives: 原语

Data: typically represents the individual characteristics of a certain object
behaviors: Behaviors are actions that can occur on an object.
methods: The behaviors that can be performed on a specific class of objects are called methods. Like functions, methods can also accept parameters and return values.
parameter: Parameters to a method are a list of objects that need to be passed into the method that is being called (the objects that are passed in from the calling object are usually referred to as arguments)

what is arguments? and what is the different between argument and parameter?


类名 Orange
属性 weight:float
方法 pick(basket:Basket)

The key purpose of modeling an object in object-oriented design is to determine what the public interface of that object will be.

This process of hiding the implementation, or functional details, of an object is suitably called** information hiding.** It is also sometimes referred to as encapsulation, but encapsulation is actually a more all-encompassing term.

The model is an abstraction of a real concept.
Abstraction is another object-oriented concept related to encapsulation and information hiding. Simply put, abstraction means dealing with the level of detail that is most appropriate to a given task.
**abstraction ** is the process of encapsulating information with separate public and private interfaces. The private interfaces can be subject to information hiding.

Composition is the act of collecting several objects together to create a new one.

Also, keep in mind that composition is aggregation; aggregation is simply a more general form of composition. Any composite relationship is also an aggregate relationship, but not vice versa.
SafariOnline 图片链接

International Standard Book Number (ISBN)
Dewey Decimal System (DDS)