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
精彩评论