We can copy the values of one object to another using many ways like : Using clone() method of an object class. Using constructor. By assigning the values of one object to another .
We can copy the values of one object to another using many ways like : Using clone() method of an object class. Using constructor. By assigning the values of one object to another .