«
Prev
»
Next
Java / OOPS Concepts and its implementation in Java
Differences Between Static Binding And Dynamic Binding In Java.
| Static Binding. | Dynamic Binding. |
| binding that happens at compile time. | binding that happens at run time. |
| Actual object is not used for binding. | Actual object is used for binding. |
| Method overloading is the best example of static binding. | Method overriding is the best example of dynamic binding. |
| Private, static and final methods exhibit static binding. Because, they cannot be overridden. | Methods other than private, static and final exhibit dynamic binding. Because, they can be overridden. |
| also called as early binding because binding happens during compilation. | also called as late binding because binding happens at run time. |
More Related questions...
Comments & Discussions