what is the use of clone method? why user cant overwrite in
sub class without its proper defination.
Answer Posted / aravind
When we want to maintaion a local copy of the object we use
clone method. This is to ensure not to modify the callers
object.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
what do you mean by java annotations?
what is server side caching?
What is the use of static class?
What is the type of lambda expression?
What are the advantages and disadvantages of object cloning?
How does java enable high performance?
What kind of variables a class can consist of?
How do you break a loop?
What is identifier with example?
Is 0 an irrational number?
What is void class in java?
How does compareto method work?
Is binary a low level language?
What data type is string java?
Is it possible for yielded thread to get chance for its execution again ?