title: Calling method from one class to another
body: <p>Starting to learn about UML diagrams, and how to interact between classes. Stuck on how to call this method from the Player class to the main method class. (MY instructions say I'm not allowed to use constructors)</p>
  
  <p>Player class = </p>
  
  <pre><code> public String askForGuess()
  {
      System.out.println("Enter your guess: ");
      String userGuess = keyboard.nextLine();
      return userGuess;
  }
  </code></pre>
  
  <p>Bagel class(includes main method, trying to call the askForGuess method</p>
  
  <pre><code>Player.askForGuess(); //Java is saying I need to change it to static, is that true?
  </code></pre>