diff --git a/lectures/26_inheritance/README.md b/lectures/26_inheritance/README.md new file mode 100644 index 0000000..42a5ceb --- /dev/null +++ b/lectures/26_inheritance/README.md @@ -0,0 +1,12 @@ +# 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 +