
上QQ阅读APP看书,第一时间看更新
Benefits of the Prototype design pattern
The following list shows the benefits of using the Prototype pattern:
- Reduces the time to create the time-consuming objects by using the prototype pattern
- This pattern reduces subclassing
- This pattern adds and removes objects at runtime
- This pattern configures the application with classes dynamically
Let's see the UML class structure of the Prototype design pattern.