Which Class Contains Clone Method in Java ?

clone() method is defined in Object class. Cloneable is a marker interface that doesn't contain any method..



You May Interest

What is the Difference Between Sleep and Wait Methods in Java ?

What is the Difference Between wait and sleep Methods in Java ?

Why Collection Interface Doesn’t Extend Cloneable and Serializabl ...

How Can We Print an Array in Java ?

What is the Difference Between pass by reference and pass by valu ...