explain the clone method and clonable interface

Answer Posted / bindhu

Clonnable interface is used to create excact copy of an
object or method or variable.

When we want a replica of one object and want to use
it in some other scenario then we make use of cloneable
interface.

Is This Answer Correct ?    6 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi friends am new to java. I read jar file means collection of java files. For executing struts application what are the necessary jar files. " struts.jar " file contains what. can u explain

1702


Are the imports checked for validity at compile time? Will the code containing an import such as java.lang.abcd compile?

860


What are conditionals and its types?

866


How many times finalize method will be invoked? Who invokes finalize() method in java?

810


Why is java called java?

821


Can we use a switch statement with strings?

800


Can a method inside a interface be declared as final?

754


What is string manipulation?

738


How many bytes is 255 characters?

766


What do you mean by inner class in java? Explain

841


What is the method in java?

866


What is this keyword used for?

904


What does opcode mean?

799


how its run?

839


How do you sort data in java?

757