title: "Getter and Setter methods for all the member variables" what does it mean..?
body: <p>In a project I want, Getter and Setter methods for all the member variables. how can i do this? and what does this mean?
  the following is the code where i want to use getter and setter method</p>
  
  <pre><code>public abstract class Connection {
  int previousReading;
  int currentReading;
  float[] slabs;
  public Connection(int currentReading, int previousReading,float slabs[])
  {
      this.currentReading = currentReading;
      this.previousReading = previousReading;
      this.slabs = slabs;
  }
  public abstract float computeBill();
  
  }
  </code></pre>