title: Why java.lang.Object can not be cloned?
body: <p>When i try to clone a generic <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html" rel="nofollow">Object</a> i get compile time error . why?</p>
  
  <pre><code>    Object obj=new Object();
      obj.clone();  // Here compile time error "The method clone() from the type Object is not visible"
  </code></pre>
  
  <p>Every class extends <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html" rel="nofollow">Object</a> class and clone method is protected in <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html" rel="nofollow">Object</a> class.</p>
  
  <p><code>protected</code> methods can be accessed in same package as well as by <code>subclasses</code> and all classes are child of <code>java.lang.Object</code>.</p>