The UML diagram below shows the relationship between four classes. I mplement the classes in a test program that creates instances of CreditCard, Cash, and Check. Output the string description of each. Note that the italicized Payment class indicates that this is an abstract class. The word “in” means the parameter is used to deliver data to the method.
Sorry the answer is not available at the moment…
If you are able to find the answer, please make sure to post it here. So that your Juniors have smile on their lips and feel happy.
Spread the 'tradition of sharing'.