18 lines
510 B
Markdown
18 lines
510 B
Markdown
# Module 06: Object-Oriented Programming Basics
|
|
|
|
## Learning Goals
|
|
|
|
- Design classes with encapsulation
|
|
- Implement constructors, destructors, and the Rule of Three/Five
|
|
- Use inheritance and virtual functions
|
|
- Apply polymorphism through base class interfaces
|
|
|
|
## Exercises
|
|
|
|
| Exercise | Topic |
|
|
|----------|-------|
|
|
| `classes_and_objects` | Members, methods, invariants |
|
|
| `constructors` | RAII, special members |
|
|
| `inheritance` | Base/derived classes |
|
|
| `polymorphism` | Virtual functions, overriding |
|