Articles added in Mathematics Lab | Cyber Lab is now open | Astronomy Lab is now open | VLSI Lab is now open | 120 SEO Tips article published | More exciting articles coming soon!




Dynamic Binding


"Binding" means associating a function for a particular function call.

Early binding or static binding refers to events that occur at compile time.Static binding occurs when all the information needed to call a function is known at compile time.Examples of early binding include normal function calls, overloaded function calls and overloaded operators. The advantage to early binding is efficiency.

If we access the function of a declared class using a base pointer and if that function is declared in base class as a virtual function then compiler cannot decide which function should be selected for the function call since to take the decision system should know the content of the base pointer. This can be done only at run time. Such a binding is known as runtime binding or late binding or dynamic binding.The advantage to late binding is flexibility.





CACKLE comment system





Programming Resources
Computer Networking Fundamentals Android Application