public abstract void Visit(FulltimeEmployee fulltime);
public override void Visit(FulltimeEmployee fulltime) { Console.WriteLine("The wage of fulltime is ..."); }
public override void Visit(FulltimeEmployee fulltime) { Console.Write("The worktime of fulltime is ..."); Console.Write("The overtime of fulltime is ..."); Console.Write("The timeoff of fulltime is ..."); }