public class Count{
  int data;
  
  public void increase(int data){
    this.data=this.data+data;  
  }
  
  public static void main(String args[]){
     Count  c1=new Count();
     Count  c2=new Count();
     c1.increase(2);
     c2.increase(1);
     System.out.println(c1.data+","+c2.data);  //´òÓ¡£º2,1
  }
}
