2 ms·
It could make sense if you have a method that you want derived classes to be able to override but not to be able to call directly. This is, admittedly, a prett
by usefulcat 3y ago
It could make sense if you have a method that you want derived classes to be able to override but not to be able to call directly.
This is, admittedly, a pretty niche case but certainly not inconceivable.
- zetafunction 3y agoExcept the derived class can simply change the visibility of the override, so...