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

What is method reference in java?

825


What is the purpose of using java.lang.class class?

755


Why do we need data structure in java?

823


What is a jagged array in java?

792


How do you check if a string contains only numeric digits?

878


What is java argument list?

711


How do you empty a list in java?

768


What is javac in java?

768


What is the difference between comparison done by equals method and == operator?

793


What is singleton math?

806


What does java ide mean?

847


Is it possible for yielded thread to get chance for its execution again ?

786


What is the meaning of find and replace?

748


What is skeleton and stub? What is the purpose of those?

802


What is a method in java?

735