Exercise: Composite Design Pattern
Explore how to modify existing composite design pattern code by adding a Circle class as a new leaf. Learn to create instances of Circle and incorporate them into composite graphic objects, gaining practical experience in design pattern implementation.
We'll cover the following...
We'll cover the following...
Problem statement
Modify the example code in the previous lesson and add the ...