Wipro Interview Question

Analyse the ways to copy the values of one object into another in java

Interview Answer

Anonymous

Mar 26, 2021

By using constructor, by assigning the values of object into another, by clone() method of object class.