Yes, it is possible for me to add multiple new responsibilities to objects through this technique, including responsibilities that were not even thought of by the designer of the superclass. And, I don’t have to touch their code!
ใช่มันเป็นไปได้สำหรับผมในการเพิ่มความรับผิดชอบใหม่หลายแห่งเพื่อวัตถุผ่านเทคนิคนี้รวมถึงความรับผิดชอบที่ไม่ได้คิดว่าของโดยนักออกแบบของ class Subclass ได้ และผมไม่มีให้สัมผัสที่รหัสของพวกเขา