Exemple #1
0
 public GoldFish(Swimmable s)
 {
     sw = s;
 }
Exemple #2
0
 public Duck(Swimmable s, Walkable w)
 {
     this.s = s;
     this.w = w;
 }
Exemple #3
0
 public Human(Walkable w, Swimmable s)
 {
     this.s = s;
     this.w = w;
 }