Which one of the following is the right way to clone an object?

Question:Which one of the following is the right way to clone an object?

1._clone(targetObject);

2.destinationObject = clone targetObject;

3.destinationObject = _clone(targetObject);

4.destinationObject = clone(targetObject);


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!