http://stackoverflow.com/questions/2391679/why-do-we-need-virtual-methods-in-c
Basic idea: when mark a method as virtual in a parent class, the compiler will check the method in the child class firstly.
时间: 2024-07-29 00:53:35
http://stackoverflow.com/questions/2391679/why-do-we-need-virtual-methods-in-c
Basic idea: when mark a method as virtual in a parent class, the compiler will check the method in the child class firstly.