Register / Login
Win a copy of
Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA)
this week in the
Architect Certification (OCMJEA)
Question on Prototype pattern
posted 9 years ago
Went through a couple of links regarding Prototype
. The following is my understanding
1) It can only be used when the shallow copy of the object would be sufficient - dont we need to have a complete copy of the object in most cases.
2) Whereever we use Cloneable with a suitable Abstract/Concrete, would that become Prototype ?
Simple Pattern Question
Prototype Java Design Pattern
Confusion regarding which pattern!
why clone() ?
Aggregation and Composition