+ 4

What is dynamic binding ?

9th Jul 2019, 9:00 AM
Raghav Singla
Raghav Singla - avatar
3 Answers
+ 5
Virtual Function comes under the category of dynamic binding... Dynamic binding also called dynamic dispatch is the process of linking procedure call to a specific sequence of code (method) at run-time. ... Dynamic binding is also known as late binding or run-time binding. Dynamic binding is an object oriented programming concept and it is related with polymorphism and inheritance.
9th Jul 2019, 6:23 PM
Aditya
Aditya - avatar
+ 4
Dynamic binding happens when all information needed for a function call cannot be determined at compile-time. Static binding can be achieved using the normal function calls, function overloading and operator overloading while dynamic binding can be achieved using the virtual functions
9th Jul 2019, 9:56 AM
Muhammad Rashid
Muhammad Rashid - avatar
0
Example - Method overloading = static binding Method overriding = dynamic binding
9th Jul 2019, 4:47 PM
Rᴀ.Oɴᴇ
Rᴀ.Oɴᴇ - avatar