Sort the algorithm for decorator pattern implementation.
Computer scienceFundamentalsEssentialsSoftware constructionDesign patternsStructural design patterns
Decorator pattern
Decorator implementation process
Report a typo
Put the items in the correct order
Extend basic wrapper in individual wrappers and add new functions
Write an interface that describes methods for your object
Create object instances using individual wrappers
Write basic wrapper(decorator) that will share an interface with the initial object
Write initial object that cannot be rewritten
___
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.