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

what are literals in java?

2 Answers  


why abstract class does not have object creation

6 Answers   Value Labs,


Explain the difference between abstract class and interface in java?

0 Answers  


What is Gang of four design patterns

0 Answers   Infosys,


How to call one constructor from the other constructor ?

0 Answers  






What are the differences between processes and threads?

0 Answers  


can u override the start() method of Thread class

5 Answers  


Write the code for Palindrome ?

2 Answers   Bally Technologies,


Can java cast null?

0 Answers  


How many days will it take to learn java?

0 Answers  


What are the benefits of operations?

0 Answers  


What is the maximum size of hashmap in java?

0 Answers  


Categories