Answer to Question #645 in Java | JSP | JSF for Fahad

Question #645
How can I create an exact copy of the object, not just link to it in Java?
Expert's answer
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!

Comments

No comments. Be first!

Leave a comment

Ask Your question

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS
paypal