Beispiel #1
0
 public static void RunMain()
 {
     Trip t1 = new PackageA();
     t1.PerformTrip();
     t1 = new PackageB();
     t1.PerformTrip();
 }