Vous êtes sur la page 1sur 1

/*

* To change this license header, choose License Headers in Project Properties.


* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package Sync;

/**
*
* @author vazeer
*/
public class NewClass {
public static void main(String ar[])
{
Counter cnt=new Counter ();

Caller p=new Caller(1,cnt);


Caller c=new Caller(2,cnt);

p.start();
c.start();

}
}

Vous aimerez peut-être aussi