Пример #1
0
 public Duck(Swimmable s, Walkable w)
 {
     this.s = s;
     this.w = w;
 }
Пример #2
0
 public Human(Walkable w, Swimmable s)
 {
     this.s = s;
     this.w = w;
 }