When you have one function that handles one event in a derived class, the override is the better approach.

  • 当你在派生类里面只有一个方法来处理一个事件的时候,重写虚方法是更好的选择。
目录 查词历史