Hi everyone. In this video we will be dealing with copying an object in java.
We will go through :
What is a reference copy?
Problem with reference copy?
How to implement a clone method?
What is a shallow copy?
Problem with shallow copy?
What is a deep copy?
Mutable vs Immutable behaviour in cloning.
We will understand all of these with the help of a practical coding example.
**Do like, share and subscribe to the channel if you find the video helpful. It will be a great motivation. Thanks✌️
On this page of the site you can watch the video online Object Cloning in Java | Shallow vs DEEP Copy | Clone Method with a duration of hours minute second in good quality, which was uploaded by the user prog_Learner 24 October 2022, share the link with friends and acquaintances, this video has already been watched 19,085 times on youtube and it was liked by 522 viewers. Enjoy your viewing!