Computer Science, asked by aneesha102006, 1 year ago

what is the relationship between book and index of the book in oops

Answers

Answered by SampriktaPatra
1
We can easily find out chapters from the index by seeing pg no otherwise it will be difficult to find out the chapter that we want
Answered by hotelcalifornia
12

Answer:

The relationship between "book and index of the book" is that of a “composition” as per "Object Oriented Programming (OOPS)" concepts. In this relation, one object is contained by other object and the contained object cannot exist alone. Index of the book cannot exist without the book; hence they share composition relationship between them. "Restricted form of aggregation" is "composition". It is denoted using a line with filled diamond in the end as shown below.

Attachments:
Similar questions