Virtual Methods
Virtual methods can be
- Final – cannot be overidden in subclass
- Abstract – not implemented in class
- Only in abstract class
- All methods of interfaces
All interface methods virtual
Virtual dispatch based on runtime type
CLR does not resolve overloads
- language specific rules
- Reuse – default
- New – always gets new vtable slot
-