예제 #1
0
 public Tablet(double width, double length, double height)
     : base(width, length, height)
 {
     hardDrive = new DataStorage(32000);
 }
예제 #2
0
 public OpticalDisc(double radius, double thickness)
     : base(radius, thickness)
 {
     data = new DataStorage(MaxBytes);
 }
예제 #3
0
 public Smartphone(double width, double length, double height)
     : base (width, length, height)
 {
     hardDrive = new DataStorage(16000);
 }
예제 #4
0
 public Laptop(double width, double length, double height)
     : base(width, length, height)
 {
     discDrive = new OpticalDiscDrive();
     hardDrive = new DataStorage(512000);
 }