Content deleted Content added
Switchpanel (talk | contribs) m Fixed typo |
Montrose64 (talk | contribs) m The first portion that I deleted was plain wrong: abstract data type is about the behavior of a computational structure (call it an object), such as dynamic dispatch, but not about its implementation. There is no restriction on the type of behavior that an ADT can define. |
||
Line 189:
===Dynamic dispatch/message passing===
It is the responsibility of the object, not any external code, to select the procedural code to execute in response to a method call, typically by looking up the method at run time in a table associated with the object. This feature is known as [[dynamic dispatch]]
A method call is also known as ''[[message passing]]''. It is conceptualized as a message (the name of the method and its input parameters) being passed to the object for dispatch.
|