9 lines
162 B
Java
9 lines
162 B
Java
package lab2_factory_method.ex1;
|
|
|
|
public class PickupCreator extends CarCreator {
|
|
@Override
|
|
public Car createCar() {
|
|
return new Pickup();
|
|
}
|
|
}
|