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


Please Help Members By Posting Answers For Below Questions

What are heterogeneous objects?

571


What is the need of transient variables in Java ?

583


Can an interface be final?

550


What is a locale?

701


Is there is any difference between a scrollbar and a scrollpane?

564






What is finalize() function in java?

563


What is t in parametric equations?

551


Can you access the private method from outside the class?

514


Difference between Preemptive scheduling vs. Time slicing?

575


Can a method be overloaded based on different return type but same argument type?

550


What do you mean by platform independence? What is an interface?

570


What is meant by main method?

582


Can we make the abstract methods static in java?

592


How do you implement tree mirroring in java?

597


What is string buffer?

506