Association and Dependency

xiaoxiao2021-03-06  105

The important difference is: Association means a member variable, and Dependency is the dependency of the dependence, depending on the way non-member variables.

The common feature is: The class that extends out the arrow has a knowledge that is directed to the class (or it is its member, or used it)

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

New Post(0)