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
What is the difference between serializable and externalizable interfaces?
What is parsing in java?
Why is the singleton pattern considered to be an anti pattern?
How does regex work?
What are the types of java languages?
How do we access static members in java?
Is ++ operator thread-safe in java?
What is the final access modifier in java?
What is the difference between a window and a frame in java programming?
What are different types of control structures?
What happens when a thread cannot acquire a lock on an object in java programming?
What is a nested structure?
What type of language is java?
What is your platform?s default character encoding and how to know this?
Which list is sorted in java?