Delegation分为
*Use(A use B)
*Association(A has B)
*Composition/aggregation(A owns B)
dependencyt
通过方法的参数传递建立联系,进行调用
2022-06-14