/*
 * Description: Class that describes counter object
 */

public class Counter{
   //instance variable
    private int count;
  
  //constructor without paramaters
  Counter(){
   count = 0; //initliaze count to zero
  }
  
  /*
   * ******Methods*******
  */
  
  //return the current count
  public int getCount(){
    return count;
  }
  
  //change count value by 1
  public void incrementCount(){
    count = count + 1;
  }
  
  //change count value to zero
  public void reset(){
   count = 0; 
  }
  
}
