3 ms·
> In all mainstream languages with OOP features methods by default are not virtual and cannot be overridden by a successor class. Ruby, Python, and Java (among
by dragonwriter 7y ago
> In all mainstream languages with OOP features methods by default are not virtual and cannot be overridden by a successor class.
Ruby, Python, and Java (among others) are relatively mainstream, but allow this (the former two have ways to do this with individual instances as well as child classes.)
- protomolecule 7y agoYes, that sentence was wrong and if you say that ability to override any method is the essence of the true OOP I would agree that the true OOP is a disaster.