Questions tagged [cloning]

Cloning refers to the making of an exact copy (deep copy) of any kind of object. It is the opposite of shallow copying, in which a reference to particular object is copied, not the object itself.

Cloning refers to the making of an exact copy (deep copy) of any kind of object. It is the opposite of shallow copying, in which a reference to particular object is copied, not the object itself.

377 questions
-2
votes
1 answer

DD Image larger than source

I created an image file using dd on my disk /dev/sda which fdisk says it is 500107862016 bytes in size. The resulting image file is 500108886016 bytes which is exactly 1024000 bytes larger. Why is the image file 1MB larger than my source disk? Is…
waffle
  • 5
  • 3
-3
votes
4 answers

Copying the data of one object to other in java

In general to make a copy of object, we assign it to a new object like : Object a = new Object(); Object b = a; While doing this, what all things we need to take care of? I guess Object a and b are dependent on each other as they will be pointing…
AalekhG
  • 361
  • 3
  • 8
1 2 3
25
26