java.lang.Error: Unresolved compilation problems: The constructor Fishing.FishingRod(int) is undefined Type mismatch: cannot convert from Fishing.FishingRod to Fishing.FishingRod[]

Coderanch | Bren Reggy | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    MultiThreading and Sharing Resources

    Coderanch | 5 years ago | Bren Reggy
    java.lang.Error: Unresolved compilation problems: The constructor Fishing.FishingRod(int) is undefined Type mismatch: cannot convert from Fishing.FishingRod to Fishing.FishingRod[]

    Root Cause Analysis

    1. java.lang.Error

      Unresolved compilation problems: The constructor Fishing.FishingRod(int) is undefined Type mismatch: cannot convert from Fishing.FishingRod to Fishing.FishingRod[]

      at fishing.Fishing.main()
    2. fishing
      Fishing.main
      1. fishing.Fishing.main(Fishing.java:56)
      1 frame