Answer Posted / krishnachaitanya
Cloning is done in two types:
1.Shallow Cloning
2.Deep Cloning
depends on how you override clone()in you class
Is This Answer Correct ? | 20 Yes | 4 No |
Post New Answer View All Answers
What are class types in java?
What is the list interface?
What is passing by reference in java?
What do you mean by stream pipelining in java 8?
How to make a write-only class in java?
Can It is possible to synchronize the constructor of a Java Class?
Tell me about your ability to work under pressure
How many bytes is 255 characters?
How do you escape a string?
How do you identify if jvm is 32-bit or 64-bit from java program?
Can you extend singleton class?
Which list is sorted in java?
explain what is transient variable in java?
Explain the difference between runnable and callable interface in java?
What is :: operator in java?