3 ms·
All functions in Java are virtual, C++ just lets you make the performance trade-off. Virtual inheritance is only useful in a few cases in complex inheritance h
by nly 13y ago
All functions in Java are virtual, C++ just lets you make the performance trade-off.
Virtual inheritance is only useful in a few cases in complex inheritance hierarchies, and most never need to know it exists.
The other 2 aspects of C++ are nothing to do with the object model.