Presentations
Templates
Features
Teams
Pricing
Log in
Sign up
Log in
Sign up
Menu
CPSC 210
D4b: Composite Pattern
Reminder:
Lecture Lab
edX > D4 >
Whole Class Lecture-Lab
Draw a UML Class Diagram for the existing classes.
Annotate the diagram with the changes you need to use the Composite pattern
Modify the code to implement Composite
Finally, modify
print
so that the nesting level is shown with indentation.
D4b: Composite Continued
The End - Thank You!
CPSC210 - D4b: Composite Continued
By meghanallen
Source:
Steven Wolfman
CPSC210 - D4b: Composite Continued
65
meghanallen
More from
meghanallen