+ 1
Hi! I'm a bit confused. So why to use abstract despite of virtual?
2 Antworten
+ 4
As Andrei said. Plus, virtual can have some default implementation, the derived class can choose to use the default or override it.
Abstract has no implementation and so must be implemented in the derived class. Let me know if you want an example.
+ 2
To force derived classes define this functionality