组合 composition (has a ) 聚合 aggregation 、 java 存储: 堆栈(对象引用,基本类型) 堆(对象) RAM 常量存储(只读存储器ROM中)如STRING 非RAM 存储(如持久化对象)