Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis+ 4
What is dynamic binding ?
3 Respostas
+ 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.
+ 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
0
Example -
Method overloading = static binding
Method overriding = dynamic binding