public GSMConstructor(string model, string manufacturer, string owner, float price, BatteryConstructor battery, DisplayConstructor display) { this.model = model; this.manufacturer = manufacturer; this.price = price; this.owner = owner; this.battery = battery; this.display = display; }
public GSMConstructor(string model, string manufacturer, string owner, float price, BatteryConstructor battery) : this(model, manufacturer, owner, price, battery, new DisplayConstructor()) { }