woke
This commit is contained in:
16
Au_Woke.java
Normal file
16
Au_Woke.java
Normal 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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user