[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inheritance of Methods



What gets inherited is more than accessors and less than methods, that
is, a subclass inherits the accessors, since, in some sense, the
accessors "belong" to the class. We are reluctant to say that subclasses
inherit "methods" because a multi-method may not "belong" to any one
class, and the analogy of inheritance implies the analogy of possesion.

What is important is that behavior, reflected in the availability of
accessors and the participation in method lookup, is inherited.  What do
you think of "Inheritance of Behavior" for a section title?