December 2001
Intermediate to advanced
416 pages
8h 16m
English
In its design, an independent class such as Matrix or Image has generally one provider and many users. The provider designs and usually implements the class. The users exercise the public interface made available by the provider. This separation of activity is reflected in the division of the class into a private implementation and a set of public methods and properties.
Under inheritance, there are multiple class providers: one providing the base-class implementation (and possibly some derived classes), and one or more providing derived classes throughout the lifetime of the inheritance hierarchy. This activity is also an implementation activity. The provider of the subtype often (but not always) needs access ...
Read now
Unlock full access