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 language is pass by reference?
What is an class?
What is lexicographically smallest string?
Can we have more than one package statement in the source file?
Is empty string in java?
Explain thread life cycle in java?
What is difference between path and classpath?
What is a variable and constant?
What do you mean by append?
What is ctrl m character?
What is the use of put method?
What is final access modifier in java?
What is definition and declaration?
What is java virtual machine and how it is considered in context of java’s platform independent feature?
enlist some features of jdk.