title: Calling methods with objects trouble
body: <p>So, I need to do this for part of my homework : </p>
  
  <p>Create a method in the Customer class called <code>hasMoreMoneyThan(Customer c)</code>
  which returns <code>true</code> if the customer calling the method has more money than the
  customer <code>c</code>, otherwise it should return <code>false</code>.</p>
  
  <p>I am looking to be pointed in the right direction for the line that says "the customer calling the method"</p>
  
  <p>This is very confusing to me and doesn't make sense, this my <code>Customer</code> is a class. </p>
  
  <p>Here is the necessary code :</p>
  
  <pre><code>public class Customer
  { 
      private String name;
      private int age;
      private float money;
  
      public String getName()
      {
          return name;
      }
  
      public int getAge()
      {
          return age;
      }
  
  
      public Customer(String n, int a, float m)
      {
          name = n;
          age = a;
          money = m;
  
     }
  </code></pre>
  
  <p>I started writing the method:</p>
  
  <pre><code>public boolean hasMoreMoneyThan(Customer c)
  {
  
  }
  </code></pre>
  
  <p>But am not sure how to call that with my <code>Customer</code> object (which I think the question is asking.</p>
  
  <p>Other relevant code :</p>
  
  <pre><code>public class StoreTestProgram {
  
      public static void main(String args[]) {
          Customer[]    result;
          Store         walmart;
  
          walmart = new Store("Walmart off Innes");
          walmart.addCustomer(new Customer("Amie", 14, 100));
  
      }
  }
  </code></pre>