Hi there,
I was learning about difference between copy and clone method in uvm.
In which I found some info about it which confuses me,
Difference 1 :
Clone() : It gives the shallow copy of the object
Copy() : It gives the deep copy of the object
Difference 2 :
Copy is only copy method
clone = create + copy method
So my question is that if copy included in clone method than how deep and shallow copy execute together ???
Also guide me if I am wrong somewhere…
Thanks,
Himanshu