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
Which is the class in java?
Is there is any difference between a scrollbar and a scrollpane?
What is the difference between keyword and identifier?
How do you decide when to use arraylist and linkedlist?
What is the difference between and ?
How to create a fecelet view?
What does replaceall do in java?
Explain Basics of OOP Language in java
Can list be final in java?
What are the drawbacks of reflection?
What are the types of relation?
Give the hierarchy of inputstream and outputstream classes.
what is the difference between future and callable interface in java?
What is the function of static in java?
What are scriptlets?