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