Answer to Question #645 in Java | JSP | JSF for Fahad
How can I create an exact copy of the object, not just link to it in Java?
You have to use the method «clone» for the object instance. But not all classes support cloning, as for the support of this operation the class should realize the interface «Clonnable».
No comments. Be first!