From: mike d. <md...@je...> - 2002-08-14 02:00:02
|
begin ne...@ho... quotation: > References to a static member (method or variable) can be resolved at > class load time ("linkage"). There is no ambiguity as to which member > is being accessed. > > On the other hand, object methods or variables accessed via an object > reference must be resolved dynamically to support polymorphism. In > the first case, the actual method invoked may belong to any > assignment-compatible class. In the latter case, the actual variable > accessed may belong to any assignment-compatible object. I'd say that's right on the nose. Ding, ding, ding, ding, ding! You're the winner! -md |