Browsing tag: copy constructor

java clone.

Intention to Create Copy of Java Objects


Java application created by group of objects. Every time we create object to represent the real time objects. “new” operation creates and builds new object for the class.  But real-time scenario,  we may require to create exact copy of java object in enterprise application.  Below list of use cases to create copy of objects in