Java View all facts Glossary Help |
mechanism > binding |
binding comparison table |
Subject | need when | apply to | is a synonym of | give | has definition |
---|---|---|---|---|---|
dynamic binding | the compiler determines that there more than one possible method that could be executed by a particular call | instance methods | virtual binding | power to polymorphism | The process of binding a call to a particular method. This is performed dynamically at run-time due to the presence of polymorphism |
static binding | files and static members | A mechanism by which the compiler determines which method implementation to use in advance, based on the type of the reference (regardless of the actual class of the object) |
Next mechanism: casting Up: mechanism Previous mechanism: abstraction mechanism