This commit is contained in:
Minh VU
2024-12-03 15:46:47 +01:00
parent 1b7ad1b32f
commit 13fd189dc7
4 changed files with 35 additions and 10 deletions

16
Au_Woke.java Normal file
View File

@@ -0,0 +1,16 @@
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();
}
}