what is the use of clone method? why user cant overwrite in
sub class without its proper defination.
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / guest
clone method is used to create copies of an object.
| Is This Answer Correct ? | 1 Yes | 0 No |
What is a programming object?
what is the difference between HashMap And HashTable?
What is class variable java?
Explain about the performance aspects of core java?
Explain treeset?
who can i handle multiple client in RMI
Tell some latest versions in JAVA related areas?
How do I print a “?
Write a program in java to find the maximum and minimum value node from a circular linked list.
all are saying java doesn't support multiple inheritance but by default Object class is super class for all the user defined classes and we can extend atmost one class so each class can extend more than one class so java supports multiple inheritance?i am confused with this,pls any one explain me.
What is entry set in java?
What is native code?