what is the use of clone method? why user cant overwrite in
sub class without its proper defination.
Answer Posted / guest
clone method is used to create copies of an object.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How do you detect memory leaks?
Explain the advantages of packages in java?
Can we convert integer to string in java?
Explain implementation and how is it different from conversion?
What are different types of constants?
What is difference between throw and throws ?
Which object oriented concept is achieved by using overloading and overriding?
What is difference between equals and hashcode method?
What is the use of 'super' keyword inside a constructor?
How to sort double array in java?
What is the default value of byte datatype in java?
What is finalize() function in java?
When a thread is executing a synchronized method , then is it possible for the same thread to access other synchronized methods of an object ?
What is garbage collection? Can it be forced to run?
How to sort elements in a parallel array in java?