* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
763 B
763 B
Dynamic Polymorphism
Dynamic polymorphism is a feature in C++ that allows objects of different classes to be treated as objects of a common type. This is achieved through virtual functions, where a derived class can override a function defined in its base class. When a virtual function is called through a base class pointer or reference, the correct function implementation for the derived class object is executed at runtime, enabling flexible and extensible code.
Visit the following resources to learn more: