Dynamic binding = = late binding in Java or not?

I have read about this topic from different sources For example, Wikipedia says:

But then a few lines

So what's the truth? What is this "significant difference"?

Solution

For all intents and purposes, late binding and dynamic single scheduling are the same In dynamic single dispatch, the value or identity of a single object determines which code to call at run time, which is what happens in Java

Dynamic scheduling is usually used to imply dynamic multi scheduling. This is where the runtime method selects according to the identification or value of multiple objects at runtime. This is a language feature in clos and Smalltalk, but not in Java or C

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>