16 lines
429 B
Java
16 lines
429 B
Java
public class Au_Woke {
|
|
private Client[] clients= new Client[30];
|
|
private Restaurant restaurant =new Restaurant();
|
|
Au_Woke(){
|
|
restaurant.cuisinier.start();
|
|
restaurant.employeB.start();
|
|
for(int i=0; i<clients.length; i++){
|
|
clients[i] = new Client(restaurant);
|
|
clients[i].start();
|
|
}
|
|
|
|
}
|
|
public static void main(String[] args){
|
|
new Au_Woke();
|
|
}
|
|
} |