Forum

Number Of Page View:100,000+/Months
LOGIN |New User

Reply

What is object cloning?
Object cloning means creating the identical object of any object. If you say :

obj1=obj2;

In the above statement obj1 is not actually making another copy of object, it simply makes the copy of reference bits. For this purpose java provides the clone() method for object cloning. This method is defined by the Object class. 
Posted By: Name:Rajesh Kr URL: What is object cloning?