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».
Need a fast expert's response?
Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Learn more about our help with Assignments:
JavaJSPJSF