Prototype design pattern
Pattern designs were classified into three general categories in 1994 by a group called the Gang of Four. Design patterns that are developed to manage the creation of objects are called creational design patterns. Prototype…