Question: do what the question needs Create in Python the parent class (superclass) and subclasses to represent the Bank transactions as shown in Figure 1 below.
Create in Python the parent class (superclass) and subclasses to represent the Bank transactions as shown in Figure 1 below. Investigate the differences between the tree types of bank transactions before creating attributes and functions for the sub classes. Ensure that common attributes are moved to the parent classes. Write a separate test module where 3 instances of the classes are created, and the methods are tested by providing required details and also printing the details for each instance. Input can be hardcoded, but information needs to be written to a file. FIGURE 1: TYPES OF TRANSACTIONS IN A BANK
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
