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 is a private class in java?

0 Answers  


What are latest features introduced with java 8?

0 Answers  


How do I type unicode?

0 Answers  


Can you run the product development on all operating systems ?

1 Answers  


What are runtime exceptions?

0 Answers  






Which class is the superclass of all classes?

0 Answers  


all are saying java doesn't support multiple inheritance but by default Object class is super class for all the user defined classes and we can extend atmost one class so each class can extend more than one class so java supports multiple inheritance?i am confused with this,pls any one explain me.

8 Answers   CFG,


How many inner classes can a class have?

0 Answers  


What is difference between overloading and overriding?

2 Answers   Accenture,


What is the use of jtable?

0 Answers  


What is the use of parseint in java?

0 Answers  


Can we compare two strings in java?

0 Answers  


Categories