
Reuse: reusing the interface
•When you have created an useful class, you can also
create a class which is similar
to it, but which provides either a different implementation of the same member functions or also some
additional new member functions
•This relationship in OOP is called inheritance
and is depicted as follows in
an UML diagram (which reads: a Derived class is a class inherited from Base, and therefore is a Base
(with some more interesting
features))
http://www.alessandroogheri.com
