<<< Interface in C++ | Index | >>> |
Object sending the message (stimulus) does not have
to know the subclass of the recipient object.
The same message (stimulus) can be interpreted differently,
causing different behavior, depending on the class of the recipient.
Polymorphism is most useful if controlled through inheritance.
<<< Interface in C++ | Index | >>> |