What is dynamic binding?

What is dynamic binding?
A. The process of linking the actual code with a procedural call during run-time
B. The process of linking the actual code with a procedural call during compile-time
C. The process of linking the actual code with a procedural call at any-time
D. All of the mentioned
 
Answer: a
Explanation: Binding of calls and variables with actual code at run-time is called dynamic binding. For example in the concept of polymorphism types are decided are defined during the execution of code which leads to the different function calls depending upon the types used this is called dynamic binding. As the function call is decided during the run-time therefore dynamic binding happens at run-time.
 

Tìm kiếm

Back
Top