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 are the Differences Between a List and Set Collection in Jav ...

How Can We Print an Array in Java ?

What are the Different Types of Events Provided by Spring Framewo ...

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