+ 1
What is dynamic binding?
4 Respostas
+ 4
override is a good example.
A b = new B();
b.doSomething();
if both class have the same method, the compiler only can decide which should call in runtime. Thats the dynamic binding
+ 3
Perfect example of dynamic binding is overriding. Both parent and child classes have same method.
+ 3
Dynamic binding it's when type of the object is determined at run-time.
In other words dynamic binding is how polymorphism implemented.
0
that's dynamic polymorphism not dynamic binding