# Lecture 26 ---  C++ Inheritance and Polymorphism

## Today’s Lecture

- Inheritance is a relationship among classes. Examples: bank accounts, polygons, stack & list
- Basic mechanisms of inheritance
- Types of inheritance
- Is-A, Has-A, As-A relationships among classes.
- Polymorphism

## 26.1 Motivating Example: Bank Accounts

