title: running boolean method from main
body: <p>I'm trying to compare two integers or double parameters by using the method from main.
  I don't understand what the problem is.
  The parameters <code>bitterChocolate_amount</code> and <code>milkChocolate_amount</code>
  are defined as integers.</p>
  
  <p>Main:</p>
  
  <pre><code>boolean x = equals(bitterChocolate_amount,milkChocolate_amount)
  </code></pre>
  
  <p>Method:</p>
  
  <pre><code>public boolean equals (Fat other)
  {
      if (this == other) {
          return true;
      }
      else {
          return false;
      }
  }
  </code></pre>
  
  <p>The error message is</p>
  
  <pre><code>  required: Object
    found: int,int
    reason: actual and formal argument lists differ in length
  1 error
  </code></pre>