Java View all facts Glossary Help |
mechanism > binding > dynamic binding |
dynamic binding (late binding, virtual binding) | ||||
subject | fact |
dynamic binding | applies to instance methods | |
has definition A mechanism by which, when the compiler can't determine which method implementation to use in advance, the runtime system (JVM) selects the appropriate method at runtime, based on the class of the object | ||
has definition The process of binding a call to a particular method. This is performed dynamically at run-time due to the presence of polymorphism | ||
gives power to polymorphism | ||
is a subtopic of How Java Works | ||
is needed when the compiler determines that there more than one possible method that could be executed by a particular call | ||
is a kind of binding | ||
is a synonym of late binding | ||
is a synonym of virtual binding |