开发者

What is binding of methods?

For my class, comparative languages, there is an example exam and one of the quesitons is: "What is bindin开发者_Go百科g of methods?"

So, what is it?

The question goes on to ask what is static versus dynamic binding which, the difference here is compile time versus run time.


This refers to the process that takes a method name and parameter types (eg, toString()) and finds the actual method that should be called (finding the right method from the appropriate type or base type and performing overload resolution).


Use google for these kinds of questions.

http://geekexplains.blogspot.com/2008/06/dynamic-binding-vs-static-binding-in.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜