Question: Consider a design with a Card class and 5 2 subclasses, one for each of the unique playing cards ( for example, Nine 0 fSpades
Consider a design with a Card class and subclasses, one for each of the unique playing cards for example, NinefSpades and JackofClubs Is this a good design? If so why? If not, why not, and what might be a better design?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
