:: Interview Questions and Answers     :: Add Questions
Register   |   Login
 

Question :: What is late bound function call and early bound function call?

Post Answer

Tags

Answers to ""

 

Functions are boud to there address so that they could be executed. if the address of the functions are known durning compile time the compiler binds it, this kind of binding is known as compile time binding or early binding. Where as when we dont know which function needs to be exucuted during compile time (as in case of dynamic polymorphism), compiler uses mechaninsm of virtual table and binds the function address during runtime. this is known as runtime binding or late binding.

Related Questions

 
 
Copyright 2005-2015, Megasolutions Ltd  |   Privacy Policy