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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset