Dynamic Dispatch
Everything on SkillVeris tagged Dynamic Dispatch — collected across the glossary, study notes, blog, and cheat sheets.
12 resources across 1 library
Interview Questions(12)
What is Polymorphism in OOP?
Polymorphism is the object-oriented principle that lets objects of different classes respond to the same method call in their own class-specific way.
Method Overloading vs Overriding
Method overloading is defining multiple methods with the same name but different parameter lists within a class, resolved at compile time, while method overrid…
What is Method Overriding in OOP?
Method overriding is when a subclass provides its own implementation of a method already defined in its superclass, using the same name and signature.
What is a Virtual Function?
A virtual function is a member function declared in a base class that a derived class can override, with the actual implementation resolved at runtime based on…
What is Method Hiding in OOP?
Method hiding occurs when a subclass defines a static method with the same signature as a static method in its superclass, so the method that runs is chosen at…
What is Polymorphic Dispatch?
Polymorphic dispatch is the runtime mechanism by which a call to a method through a base-type reference or interface is routed to the specific implementation d…
What is a Vtable (Virtual Method Table)?
A vtable (virtual method table) is a per-class array of function pointers that maps each virtual method to its actual implementation, used by the runtime to pe…
How Do Virtual Method Tables (vtables) Work?
A virtual method table (vtable) is a per-class array of function pointers that the runtime consults through a hidden pointer stored in each object, allowing a…
What is Function Overriding vs Shadowing?
Overriding replaces a parent’s virtual method implementation such that the subclass version runs even when called through a base-type reference, while shadowin…
What is Replace Conditional with Polymorphism?
Replace Conditional with Polymorphism is the refactoring that removes a branching statement — usually a switch or if/else chain keyed on an object’s type — by…
What is Multiple Dispatch?
Multiple dispatch is a form of polymorphism in which the specific method implementation invoked is chosen at runtime based on the runtime types of more than on…
Extension Methods vs Inheritance
Extension methods add standalone utility behavior to an existing type from outside, with no new subtype or state, while inheritance creates a genuine subtype t…