Search:

Type: Posts; User: Adam22

Search: Search took 0.08 seconds.

  1. Re: Program with transfer value from one class to another

    The program takes a users reponse to the question, which can be 1 to 4. After the number is tested via looking in the computer class to see if the playerAnswer and actucalAnswer match. If they do...
  2. Re: Program with transfer value from one class to another

    Hi,

    I have changed the playerAnswer to pAnswer, however, it still displays the same error below is the full code if this is of any help.

    Game Class

    public class Game {

    public static...
  3. Re: Program with transfer value from one class to another

    Ok I have changed the return in the computer class to playerAnswer which got rid of one of the problem, however, for the

    String rAnswer = computer.checkAnswerQ1(playerAnswer);

    it is still...
  4. Program with transfer value from one class to another

    I am trying to create a Who Wants To Be A Millionaire Game - just like the Tv show. However, I keep getting an error message saying "returnValue cannont be resolved to a variable". I am just...
Results 1 to 4 of 4