title: How do you return the total value of two methods that each take in a value?
body: <p>My teacher wanted us to create program to compute the bills of our home. In java we were just going over objects and classes so I made
  class Bills{
  Bills... etc</p>
  
  <p>The problem I am having is I dont know how to get a total of two methods that take in a value. </p>
  
  <pre><code>public double getWifepay(double x){
  return x;
  }
  
  public double getHusbandpay(double y){
  return y;
  }
  
  public double getTotalmoney(){
  ???
  }
  </code></pre>