Dynamic dispatch is the process of selecting which implementation of a polymorphic operation to call at runtime in object-oriented programming. It allows for interchangeable objects with the same operation name but different behaviors, and the selection of the appropriate implementation is deferred until the runtime type of a parameter is known. Dynamic dispatch is different from late binding, as it chooses a specific implementation at runtime while late binding associates a name with an operation.
Carnegie Mellon University
Spring 2014
A comprehensive course at Carnegie Mellon University that introduces fundamental principles of programming language design and implementation from a mathematical perspective. It delves deep into the structural and dynamic aspects of programming languages, studying concepts like recursion, objects, polymorphism, and parallelism.
No concepts data
+ 38 more concepts