Files

510 B

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