Draw a class diagram representing a book defined by the following statement: “A book is composed of a number of parts, which in turn are composed of a number of chapters.
Chapters are composed of sections.” First, focus only on classes and associations.
Add multiplicity to the class diagram you produced.
Refine the class diagram to include the following attributes:
• Book includes a publisher, publication date, and an ISBN
• Part includes a title and a number
• Chapter includes a title, a number, and an abstract
• Section includes a title and a number
Consider the refined class diagram. Note that the Part, Chapter, and Section classes all
include a title and a number attribute. Use inheritance to factor out these two attributes .
