Question: Suppose that a book is defined by following statement: A book is composed of a number of parts, which in turn are composed of a
Suppose that a book is defined by 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.
1). Draw a class diagram representing the book. Focus first on classes and relationships.
Also, add multiplicity to the class diagram.
2). Extend the class diagram of part (a) to include the following attributes:
- A book includes a publisher, publication date, and an ISBN.
- A part includes a title and a number.
- A chapter includes a title, a number, and an abstract.
- A section includes a title and a number.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
