开发者

What is binding of methods?

开发者 https://www.devze.com 2023-04-12 09:14 出处:网络
For my class, comparative languages, there is an example exam and one of the quesitons is: \"What is bindin开发者_Go百科g 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

精彩评论

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