java.lang.Error: Unresolved compilation problem: The field Car.horsepower is not visible

Coderanch | Erich Tiegelholz | 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

    Visiblity: Default vs. protected access

    Coderanch | 5 years ago | Erich Tiegelholz
    java.lang.Error: Unresolved compilation problem: The field Car.horsepower is not visible

    Root Cause Analysis

    1. java.lang.Error

      Unresolved compilation problem: The field Car.horsepower is not visible

      at test.AccessTest.main()
    2. test
      AccessTest.main
      1. test.AccessTest.main(Car.java:17)
      1 frame