title: "Cannot find symbol" error in Java
body: <p>I've been programming for a few days, I'm using Deitel's How to program.</p>
  
  <p>In this case the app class GradeBookTest is meant to create and use an object of the class GradeBook, but everytime I try to run GradeBookTest I get the cannot find symbol error.
  I know it's probably something stupid but I've been looking for the solution without success.</p>
  
  <p>GradeBook.java:</p>
  
  <pre><code>public class GradeBook
  {
      public void displayMessage();
      {
          System.out.println("Welcome to the Grade book!")
      }
  }
  </code></pre>
  
  <p>GradeBookTest.java:</p>
  
  <pre><code>public class GradeBookTest 
  {
      public static void main(String[] args) 
      {
          GradeBook myGradeBook = new GradeBook();
  
          myGradeBook.displayMessage();
      }
  }
  </code></pre>