what is the difference between static and dynamic binding?
Static binding happens at compile-time while dynamic binding happens at runtime. Binding of private, static and final methods always happen at compile time since these methods cannot be overridden. ... The binding of overloaded methods is static and the binding of overridden methods is dynamic.