First page Back Continue Last page Graphics
Class Inheritance
Why “re-invent the wheel” when solving problems using a computer program?
If previous work was done carefully and carefully tested, then it is reusable.
Originally, in C, people developed function libraries and sold them.
- Hard to use if changes are needed.
- Often no source code distributed.
Object Oriented programming and C++ gave us the possibility of class libraries.