The transfer operation has the following input and output:
- Input - fromAccount with BankAccount type
- Input - toAccount with BankAccount type
- Input - amount with double type
- Output - result with TrueOrFalse type
Follow these steps to add the transfer operation to the
Bank interface: