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
In multi-threading how can we ensure that a resource isn't used by multiple threads simultaneously?
How can we make string upper case or lower case?
In java how do we copy objects?
Why collection is called framework in java?
What is the default value of byte datatype in java?
What is the difference between inheritance and encapsulation?
Explain when noclassdeffounderror will be raised ?
Explain about wait() method?
What are untrusted applets?
Why string is called as immutable?
How are multiple inheritances done in Java?
What is int argc char * argv?
How to set the permissions to a file in java?
Why is String immutable?
What is a null check?