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

How Can We Find the Memory Usage of JVM From Java Code ?

What is Volatile Keyword in Java ?

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

What are the Similarities Between HashSet and HashMap in Java ?

What are the Different Types of Classloaders in Java ?