Question: I ' m working on a UML design hierarchy using a composite design pattern. The design must be flexible and reusable. Currently, I believe column

I'm working on a UML design hierarchy using a composite design pattern. The design must be flexible and reusable. Currently, I believe column consists of Frame, Frame Consists of Column and Column and Frame do not consist of themselves. However, I don't believe it is correct to use the direct composition links in between Column and Frame because it will compromise reusability. How can I fix this while keeping the relation of "Column consists of Frame, Frame Consists of Column and Column and Frame do not consist of themselves"?
I ' m working on a UML design hierarchy using a

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!