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

Difference between collection, collection and collections in java?

568


Can memory leak in java?

580


How to obtain a performance profile of java program

542


Enlist few advantages of inheritance?

580


Can you add null to a list java?

583






Why pointers are not used in java?

579


Why do people says “java is robust”?

551


What are access specifiers in java ?

588


Write a java program to generate fibonacci series ?

568


What restrictions are placed on method overriding in java programming?

539


What is java oops?

551


What is the difference between checked exception and unchecked exception?

524


What means public static?

558


What advantage do java's layout managers provide over traditional windowing systems?

543


Is c better than java?

543