예제 #1
0
 public Television(double resolution, bool tdt, double price, Color color, EnergyClass energyClass, double weight)
     : base(price, color, energyClass, weight)
 {
     Resolution = resolution;
     Tdt        = tdt;
     numInstances++;
 }
예제 #2
0
 public Electrodomestico(double price, Color color, EnergyClass energyClass, double weight)
 {
     Price       = price;
     Color       = color;
     EnergyClass = energyClass;
     Weight      = weight;
 }
예제 #3
0
 public Lavadora(double carga, double price, Color color, EnergyClass energyClass, double weight)
     : base(price, color, energyClass, weight)
 {
     Carga = carga;
 }