Question: a ) Displaying transactions: When displaying transactions, you should be able to display the transactions process before the debit / credit . Example: Alan gives
a Displaying transactions:
When displaying transactions, you should be able to display the transactions process before the debitcredit
Example: Alan gives Barbara $ transaction
Name: Alan
Balance: $
Name: Barbara
Balance: $
transaction to Barbara from Alan: $
transaction fee:
Name: Alan
Balance: $
Name: Barbara
Balance: $
A $ transaction fee is deducted every time you make a withdrawal from this account.
The account must ensure that the account cannot go negative and should decline any withdrawal, if this would
make the account negative.
b Show the results of the three accounts after Alan gives Barbara $ and Carl $
c Create a constructor that allows you to initialize the name and balance for a "CheckingAccount" upon creation.
d Create a "toString" method within your "CheckingAccount" template to print the contents of its objects.
e Create a constructor that takes only one parameter of type "String". Use this constructor to obtain input values for
the account name and balance from your keyboard console and print to your output screen.
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
