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
How many decimal digits is 64 bit?
What is ellipsis in java?
What is identifier with example?
Can interface be private in java?
What is role of void keyword in declaring functions?
What are the differences between heap and stack memory?
List implementations of list interface?
Explain when noclassdeffounderror will be raised ?
How is string immutable in java?
What is java basic concept?
How do you compare two strings lexicographically?
What is static method with example?
What is the program development process?
What about features of local inner class?
What is method overriding in java ?