搬运工
发表于 2025-3-26 22:50:29
http://reply.papertrans.cn/27/2685/268417/268417_31.png
Juvenile
发表于 2025-3-27 01:46:34
http://reply.papertrans.cn/27/2685/268417/268417_32.png
他去就结束
发表于 2025-3-27 07:23:08
CompositeIt’s a fact of life that objects are quite often composed of other objects (or, in other words, they aggregate other objects). Remember, we agreed to equate aggregation and composition at the start of this part of the book.
Harridan
发表于 2025-3-27 10:45:51
DecoratorYou’re working with a class your colleague wrote, and you want to extend that class’ functionality. How would you do it, without modifying the original code? Well, one approach is inheritance: you make a derived class, add the functionality you need, maybe even . something, and you’re good to go.
LOPE
发表于 2025-3-27 13:56:22
http://reply.papertrans.cn/27/2685/268417/268417_35.png
演讲
发表于 2025-3-27 18:07:37
http://reply.papertrans.cn/27/2685/268417/268417_36.png
镇压
发表于 2025-3-28 01:57:01
http://reply.papertrans.cn/27/2685/268417/268417_37.png
绿州
发表于 2025-3-28 02:10:37
http://reply.papertrans.cn/27/2685/268417/268417_38.png
闲逛
发表于 2025-3-28 08:12:51
http://reply.papertrans.cn/27/2685/268417/268417_39.png
焦虑
发表于 2025-3-28 13:26:16
http://reply.papertrans.cn/27/2685/268417/268417_40.png