title: misplaced constructs (Java)
body: <pre><code>    public void drawBoard(){
         System.out.println(P1 + "|" + P2 + "|" + P3 + "|"); 
         System.out.println(P4 + "|" + P5 + "|" + P6 + "|"); 
         System.out.println(P7 + "|" + P8 + "|" + P9 + "|");
      }
  </code></pre>
  
  <p>I get an underline under "public void drawBoard()" saying "syntax error on token(s) misplaced construct(s)"</p>
  
  <p>I looked through the internet and through my Java text book and can not come up with a solution. Any help will be appreciated. 
  Thank you,
     Allyn</p>