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

Why Did Oracle Release a New Version of Java Like Java 8 ?

What are the Situations in Which You Choose HashSet or TreeSet in ...

What is XMLBeanFactory in Spring Framework ?

Why Do We Use Nested Classes in Java ?

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