java.lang.Error: Unresolved compilation problem: prompt cannot be resolved to a variable

Coderanch | jarco voorhees | 6 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 Ready-Bake Code

    Coderanch | 6 years ago | jarco voorhees
    java.lang.Error: Unresolved compilation problem: prompt cannot be resolved to a variable

    Root Cause Analysis

    1. java.lang.Error

      Unresolved compilation problem: prompt cannot be resolved to a variable

      at GameHelper.getUserInput()
    2. Unknown
      SimpleDotComGame.main
      1. GameHelper.getUserInput(GameHelper.java:6)
      2. SimpleDotComGame.main(SimpleDotComGame.java:15)
      2 frames