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
Is empty string in java?
What do you mean by formatting?
What is use of super keyword?
Why is multiple inheritance not supported in java?
What is a pointer and does java support pointers?
How many tetrahedral voids are there in bcc?
Can we convert stringbuilder to string in java?
What are the uses of synchronized keyword?
What is appletviewer?
what is the role of xml in core java?? and how we can use it?? can somebody give a sample program with explanation and from where i can read more about xml?????
What is immutable state?
What is variable declaration and definition?
Why java is object oriented?
Is empty .java file name a valid source file name?
Give me an example of array and linked list? Where they can be used?