Increases Flexibility:?
- You can easily add new shapes or drawing styles without changing existing
classes. This is particularly useful in scenarios where the number of shapes
or rendering methods can grow over time.
classes. This is particularly useful in scenarios where the number of shapes
or rendering methods can grow over time.