InterviewSolution
Saved Bookmarks
| 1. |
What do you mean by dynamic dispatch? |
|
Answer» In simple terms, dynamic dispatch means that the program DECIDES at runtime which IMPLEMENTATION of a particular METHOD or function it needs to invoke. In the case where a subclass overrides a method of its superclass, dynamic dispatch determines whether to invoke the subclass implementation of the method or the PARENTS. |
|