Saturday, February 2, 2013

Binding in C++


Binding
·        Static Binding :
The mechanism of linking a function with an object during compile time, is called early binding or static binding.
The non-virtual member functions are resolved at compile time; this mechanism is called static binding.
·        Dynamic Binding :
The mechanism of linking a function with an object at runtime is called late binding.
The virtual member functions are resolved during runtime; this mechanism is known as dynamic binding.

0 comments:

Post a Comment

Powered by Blogger.