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
Class c implements interface I containing method m1 and m2 declarations. Class c has provided implementation for method m2. Can I create an object of class c?
What is java basic concept?
Can finally block be used without a catch?
How do you end a program?
What is a static class in java?
Explain the difference between throw and throws in java?
When is finally block not called?
Give me an example of array and linked list? Where they can be used?
What is a locale?
Which keyword specify that a variable is effectively final ?
Why is stringbuffer faster than string?
What is final, finally, finalize?
What is a function argument in java?
What are the different approaches to implement a function to generate a random number?
How do you empty a list in java?