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

Coderanch | joni novhia | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  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