java.lang.Error: Unresolved compilation problem: The public type GameHelper must be defined in its own file

Coderanch | Noel McCarthy | 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

    Head first java - chapter 5 SimpleDotCom game

    Coderanch | 5 years ago | Noel McCarthy
    java.lang.Error: Unresolved compilation problem: The public type GameHelper must be defined in its own file

    Root Cause Analysis

    1. java.lang.Error

      Unresolved compilation problem: The public type GameHelper must be defined in its own file

      at simpledotcom.GameHelper.<init>()
    2. simpledotcom
      SimpleDotCom.main
      1. simpledotcom.GameHelper.<init>(SimpleDotCom.java:4)
      2. simpledotcom.SimpleDotCom.main(SimpleDotCom.java:73)
      2 frames