Question: 1. Draw and annotate a class hierarchy that represents various types of sales transactions in a store (cash, credit, etc.). Show what characteristics would be represented in the various classes of the hierarchy. Explain how polymorphism could play a role in the payment process.
2. What would happen if the pay method were not defined as an abstract method in the StaffMember class of the Firm program?