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 wait and sleep Methods in Java ?

Why Do We Use Static Initializers in Java ?

What are the Examples of Observer Design Pattern in JDK ?

Why Java Does Not Support Operator Overloading ?

How Can You Make an Object Eligible for Garbage Collection in Jav ...