Late Binding:
The concept of binding the function
body to the function definition during runtime is know as late binding.
Late Binding :
If the function body is binded with
the function definition at the compilation time,then it is known as early
binding.
Note: We cannot define a function in a class without body. It
should have at least Zero body.
Differences between Late Binding and Dynamic Polymorphism
In dynamic polymorphisim the
function to be executed is decided at run time but note that by the time of
compliation the function has a body.
But, in late binding, the body of
the function itself is going to get associated with the function definition
during run time.
Note:
Late binding is highly dynamic than anything else in java.
In post we learn how to implement
late binding .
No comments:
Post a Comment