title: Method in class cannot be applied to given types. Required: no arguments
body: <p>I'm new to coding so this will probably be a very simple question.</p>
  
  <p>When I compile I get the error:</p>
  
  <pre><code>GradeAnalyzer.java:49: error: method getAverage in class GradeAnalyzer cannot be applied to given types;
        myAnalyzer.getAverage(myClassroom);
                  ^
    required: no arguments
    found: ArrayList&lt;Integer&gt;
    reason: actual and formal argument lists differ in length
  </code></pre>
  
  <p>Which for the life of me I can't understand why. I thought my problem was it needed an argument but I've got one, being 'myClassroom'.</p>
  
  <p>Here is my bulk code: <a href="https://bitbucket.org/snippets/Faraday_/pexqKb" rel="nofollow noreferrer">https://bitbucket.org/snippets/Faraday_/pexqKb</a> </p>
  
  <p>Thanks for the help.</p>