next up previous
Next: 2.3.3.1 similar Up: 2.3 Approximating Multiple Inheritance Previous: 2.3.2.5 Static versus dynamic

2.3.3 Language support

So far we have seen that simulations of multiple inheritance perform very well on some examples and bad on others. This is not a really satisfactory conclusion. Can we do better? In this section we look at what can be gained by providing language support for the translations discussed above. We analyze two mechanisms: implementation of the implicit interface of a class and built-in delegation.



 

T. K. Prasad