...
/Quiz: Advanced Design Patterns
Quiz: Advanced Design Patterns
Test yourself on the knowledge you learned about advanced design patterns.
We'll cover the following...
Advanced Design Patterns
1
What is the key difference between the Adapter and Decorator patterns?
A)
The decorator works with preexisting objects, while Adapter creates new objects.
B)
Decorator often combines multiple methods from different classes, while Adapter only modifies one method.
C)
The adapter is a runtime choice, while Decorator is a design-time choice.
D)
The decorator modifies existing code while Adapter wraps functionality inside a new container.
Question 1 of 50 attempted
Access this course and 1400+ top-rated courses and projects.