Dynamic binding and Static Binding
Dynamic binding and Static Binding
Java bundled in two forms-static binding Static Binding (early binding early-binding) dynamic binding dynamic-binding (late-night bonding binding, or runtime binding runtime-binding)
Static Binding is binding at compile-time, and dynamic run-time binding in accordance with the actual situation of targets to choose bundled father of a certain category or categories of the method. In the implementation of efficiency, Static Binding is superior dynamic binding, but the loss of flexibility.
Variables in Java is a dynamic binding, is an example of the dynamic binding. In the "progressive transformation" of sub-categories will be covered Father instance of the class will cover methods and the father of variables.
Posted on 2007-07-07 14:57 itkui reading (106) Comments (1) edit their collections quoted Category: J2SE related






