A class hierarchy arranges classes through inheritance, placing shared behavior in a base class and specialized behavior in derived classes. In a library system, Librarian and Member inherit login ability from User. section 1.2.4
When a tiny feature is not tiny
Theo is asked to add VIP members who can add book items independently. He separates the requirement into two facts: VIP members are members, and VIP members need a capability currently implemented in Librarian::addBookItem. Because that code is locked into a class method, the change may require a new VIPMember class and further hierarchy design rather than simple reuse. section 1.2.4
Inspect the member-and-librarian class diagram to see how User supplies shared login behavior. section 1.2.4
Compare the expanded diagram showing how VIP members alter the original design. section 1.2.4



