- Building Microservices with Spring
- Dinesh Rajput Rajesh R V
- 61字
- 2021-07-02 14:54:03
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.