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

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

    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