package abstractFactory; import abstractFactory.rusFleet.Kamaz; import abstractFactory.rusFleet.Liaz; import abstractFactory.rusFleet.Vaz2110; public class RusFleetFactory extends FleetFactory { public RusFleetFactory() { super(); } return new Liaz(number, 30, true); } return new Vaz2110(number, 12, true); } return new Kamaz(number, 43, 6, false); } }