title: illegal start of type/ cannot find symbol error
body: <p>I'm new at Javascript so please understand that I don't really know what I am doing. I had a "illegal start of type" error message pop up at the "if" strand of code, so I put the "void a Method" statement and the error went away. But the other error messages are "cannon find symbol" for "age". I don't know what to do. I welcome any help! Here is a part of my code:</p>
  
  <pre><code>     // Put code for displayJButtonActionPerformed
  void aMethod(){
  if (age&lt;=10)
  {
      displayJLabel.setText("SpringChicken");
  }
  else if (age &gt;10 &amp;&amp; &lt;= 15)
  {
      displayJLabel.setText("SummerChicken");
  }
  else if (age &gt;15 &amp;&amp; &lt;= 20)
  {
      displayJLabel.setText("KentuckyFriedChicken");
  }
  }
  //
  </code></pre>