started ex Z4

This commit is contained in:
2025-01-13 18:18:14 +01:00
parent c7d054e973
commit afc2fbfa8a
13 changed files with 478 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
package exercises.ex_w;
public class TestingExchanger_Garage {
String[] carTypes = {"Seat Alhambra", "BMW Mini", "Tesla 3"};
public static void main(String[] args) {
// Create a Customer thread and a Garage thread
// that use an exchanger for replacing the customer car
// with a courtesy car during the reparation. At the end of the day,
// the cars are exchanged back.
Garage garage = new Garage();
}
}