[自 自 自 我] Object-oriented concept preliminary (summary)

xiaoxiao2021-03-06  18

Distribution time: 2005-1-10 4:30 pm

Training time: 2005-1-12 3:00 pm

Participants: All employees of the technical department (land manager and Li Gang do not participate)

The training summary process, in the following stages, as a brief description, as follows:

1. As the "Control Robot" as an AC platform, the example is performed for this example (see detailed explanation)

2. Discuss package, object-oriented package, leading to realization of packages - information hidden

3. How to implement information hide, what benefits have such a mechanism?

4. Compare the traditional process module, propose object-oriented state hold concept

5. How to get distinguishes in many object partners, to lead the important concept of the object-oriented object: Object ID, handle

Some of the problems that the handle may have also caused profound changes in the design and constructive objective software.

6. Object-oriented message mechanism

1) Message structure: experience with traditional software technology inverted in the application

2) Message Parameters: In pure face to the object environment, the message parameter is not data, but the object handle

3) Object roles in the message: the role played by the object in the life cycle

4) Type of message

7. The difference between the class and the object further observes the real structure of a set of objects from one class, which explains the real structure of a set of objects, that is, the object-oriented environment to allocate memory.

8. Inherit, constructed software more effectively. Multi-inheritance may establish complex and difficult to understand structures (C # does not support)

9. Polymoritors are both a method such that multiple classes can define the same operation or attribute name, and have different implementations in each class. It is a characteristic that makes an attribute or variable in different periods. Indicates different class objects

Leading a number of ways to achieve polymorphism:

1) Dynamic Binding (Dynamic Binding)

2) OVERRIDING (overwriting)

3) OVERLOADING (overload)

10. Generally refers to the class C structure used inside one or more classes, and only the parameters of the parameterized class are only available as parameters as parameters. (Simplate similar to C)

11. The section, focus on discussions related information, do not discuss the questions

(Reflections on the topic requirements, feedback from the form of mail before 2005-1-21)

Responsible person: Zhu Liang

转载请注明原文地址:https://www.9cbs.com/read-44503.html

New Post(0)