title: Void methods cannot return a value
body: <p>I'm following the CS106A lectures online. I'm going through the code on Lecture 12, but it's giving me errors in Eclipse. </p>
  
  <p>This is my code. It seems the error is because of the word void in my <code>main</code> method. I tried deleting the main method, but of course Java can't run without it. </p>
  
  <p>I'm a newbie and no one has explained what the <code>String[] args</code> thing really means, but I've been told to just ignore it and use it. I'd appreciate if someone could explain that to me as well.</p>
  
  <p>This errors also comes up on the 'toLower' method; no idea what it means:
  Illegal modifier for parameter toLower; only final is permitted</p>
  
  <p>(if it helps; the point of the code is to convert an uppercase letter to a lowercase one)</p>
  
  <pre><code>public class CS106A {
  
      public static void main(String[] args){
  
          public char toLower(char ch);
              if (ch &gt;= 'A' &amp;&amp; ch &lt;= 'Z'){
                  return ((ch - 'A') + 'a');
          }
          return ch;      
      }
  
  }
  </code></pre>
  
  <p>Thanks</p>