13 lines
458 B
Java
13 lines
458 B
Java
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();
|
|
}
|
|
}
|