The following shows how instance variables and the rating
instance
method are distributed for movies:
*--------------------* | Attraction: | | minutes | *--------------------* ^ | extends | *--------------------* | Movie: | | script | | acting | | direction | | rating method | *--------------------* ^ ^ | | extends | *----------------------* | | | *--------------------* | | JamesBondMovie: | | | rating method | | *--------------------* | ^ | | *--------------------* *------------------------------* | Movie instance | | JamesBondMovie instance | *--------------------* *------------------------------*