A Deck is a group of cards and a Deck has a group of cards. In our
Question:
A Deck is a group of cards and a Deck has a group of cards. In our example, it’s better to choose the is-a relationship and implement inheritance. In this case, why is inheritance a better choice than composition?
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Introduction To Programming With Java A Problem Solving Approach
ISBN: 9781260575248
3rd International Edition
Authors: John Dean
Question Posted: