// 有Cylinder类来调用 public virtual void VisitCylinder(Cylinder theCylinder) { }
public override void VisitCylinder(Cylinder theCylinder) { theCylinder.Draw(); }