How can I create an exact copy of the object, not just link to it in Java?
1
Expert's answer
2010-09-15T12:19:03-0400
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».
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment