Runtime Polymorphism
Everything on SkillVeris tagged Runtime Polymorphism — collected across the glossary, study notes, blog, and cheat sheets.
9 resources across 1 library
Interview Questions(9)
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 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…
Static Binding vs Dynamic Binding
Static binding resolves which method or variable a call refers to at compile time based on the declared type, while dynamic binding defers that resolution unti…
Early Binding vs Late Binding
Early binding (also called static binding) connects a method call to its implementation at compile time, while late binding (also called dynamic binding) conne…
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 Double Dispatch in OOP?
Double dispatch is a technique where the method that executes is selected based on the runtime types of TWO objects involved in a call, not just one, achieved…