Re: Does one "call a method" when polymorphism is used?



Mark Rafn wrote:

Not in common use. Where precision is needed, I'd recommend "declared method"
and "dispatched method". This is close to the distinction between
getMethods() and getDeclaredMethods() in java.lang.Class. Most of the time,

I like "dispatch." As A. Bolmarcich pointed out, an early term used for method invocation was "sending a message." And messages are also dispatched.

However, I saw a lot of people get confused, thinking that the message was actually passed between two separate threads of execution. So the OO community hunted around for a better term and "invoke" is what they came up with. (I think. History lesson taken with a chunk of salt.)

.