Cloning Flashcards

1
Q

What is cloning in java?

A

Cloning is a process of creating an exact copy of an existing object in the memory. Cloning may be shallow or deep. In java, clone() method is used to create a clone of an object.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

More on Cloning in Java

A

https://javaconceptoftheday.com/difference-between-shallow-copy-vs-deep-copy-in-java/

How well did you know this?
1
Not at all
2
3
4
5
Perfectly