Wednesday, 26 June 2013

what is static binding and dynamic binding

The term binding refers to the connection between  a function call  and the actual code executed as a result of the call.

STATIC BINDING 
 when a function  call gets resolved at a compile time it is called static binding or early binding .

DYNAMIC BINDING
when a function call gets resolved at run time is is called dynamic binding or late binding, this can be achieved by decalring the virtual   function in the class .




0 comments:

Post a Comment