+ 1

Hi! I'm a bit confused. So why to use abstract despite of virtual?

14th Apr 2016, 6:09 AM
Andrei David
Andrei David - avatar
2 odpowiedzi
+ 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.
15th Jun 2016, 1:13 AM
Malachi Jones
Malachi Jones - avatar
+ 2
To force derived classes define this functionality
14th Apr 2016, 12:44 PM
Eugene