adding lecture 26 inheritance

This commit is contained in:
Jidong Xiao
2023-11-27 01:41:53 -05:00
parent aa5d8915fb
commit d11cf5015d

View File

@@ -0,0 +1,12 @@
# Lecture 26 --- C++ Inheritance and Polymorphism
## Todays 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