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 sendRedirect and forward in a JSP ...

Why Should You Define a Default Constructor in Java ?

Java How To Find The Average Of 10 Numbers Using A While Loop

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

What are the Differences Between a List and Set Collection in Jav ...