explain the clone method and clonable interface



explain the clone method and clonable interface..

Answer / 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

More Core Java Interview Questions

When we will use an Interface and Abstract class?

9 Answers  


What are the ways in which a thread can enter the waiting state?

0 Answers  


In the below example, what will be the output?

0 Answers  


What are the traverses in Binary Tree?

2 Answers   Adobe, Infosys,


Can a class be private or protected in java?

0 Answers  


What are the parts of a method?

0 Answers  


What is method overloading with type promotion?

1 Answers  


Explain when noclassdeffounderror will be raised ?

0 Answers  


What do you mean by object?

0 Answers  


What is extension method in java?

0 Answers  


Why string is not thread safe?

0 Answers  


Explain the transient field modifier?

0 Answers  


Categories