java-logo

Prototype Design pattern

Prototype design pattern comes under creational design pattern. This pattern is very easy to understand. Prototype design pattern provides duplication of an existing object. This can be achieved with Object class clone method. Object creation with new operator is time consuming and costly in an Enterprise projects. So instead of creating object with new operator […]