110 - Modifier Overriding
Modifier Overriding: Function modifiers can override each other.
This works in the same way as function overriding (except that there is no overloading for modifiers).
The virtual keyword must be used on the overridden modifier and the override keyword must be used in the overriding modifier.
- Modifier Overriding
- Overriding Possible
- Similar to Functions
- Overridden Modifier -> virtual Keyword
- Overriding Modifier -> override Keyword