java.lang.Error: Unresolved compilation problem: The method clone() from the type Object is not visible

Coderanch | joni novhia | 5 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Why clone() method is not directely accessible from any class ?

    Coderanch | 5 years ago | joni novhia
    java.lang.Error: Unresolved compilation problem: The method clone() from the type Object is not visible

    Root Cause Analysis

    1. java.lang.Error

      Unresolved compilation problem: The method clone() from the type Object is not visible

      at StringWrap.main()
    2. Unknown
      StringWrap.main
      1. StringWrap.main(StringWrap.java:6)
      1 frame