Match part of composite pattern realization part and its definitions:
Computer scienceFundamentalsEssentialsSoftware constructionDesign patternsStructural design patterns
Composite pattern
Purpose of composite pattern parts
Report a typo
Match the items from left and right columns
Component
Leaf
Composite
an object that does all the actual work because it doesn't delegate its functions to other objects
an object that acts as a container for other objects
an interface that describes common methods for both simple and complex objects
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.