If I have an AbstractClass with a "virtual void Method()=0". What is the difference if a DerivedClass defines the implementation as "virtual void Method() { }" or simply "void Method() { }" ?
Asked
Active
Viewed 127 times
1 Answers
2
There is no difference. It's just for clarity.
Any method defined as virtual in a base class, is also virtual in the classes which inherit from it, regardless whether it's declared like that or not.

memRistor
- 101
- 1
- 7