Exemple #1
0
 public void visit(Wheel wheel)
 {
     Debug.WriteLine(("Kicking my "
                      + (wheel.getName() + " wheel")));
 }
Exemple #2
0
 public void visit(Wheel wheel)
 {
     Debug.WriteLine("Visiting "
                     + (wheel.getName() + " wheel"));
 }