1 Write the use case for returning a book to the library, as discussed in this section. 2 Modify the class diagram shown in Figure 12.8 to include the Library class. You should assume that that a...


1 Write the use case for returning a book to the library, as discussed in this section.


2 Modify the class diagram shown in Figure 12.8 to include the Library class. You should assume that that a library contains zero or more books and patrons.


3 Explain the difference between aggregation and composition; use an example.


4. A blackjack game uses a deck of cards. As cards are dealt from the deck, it gradually becomes empty. Draw a class diagram that shows the relationships among the classes Card, Deck, and BlackjackGame. Be sure to show any multiplicities in the relationships.




May 19, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here