Professional Documents
Culture Documents
Mutator
Accesor
ArrayList
Inheritance
Isolation Testing
7. What happens when you :
1. Display Accounts : Display accounts has created
2. Create Accounts : Create new accounts
3. Delete Accounts : Delete accounts created
4. Make a Withdrawal Transaction : Reduce balance accounts with withdrawal
has been inputed
5. Make a Deposit Transaction : Add deposit with deposit has been
inputed
a. Can you display accounts before any are created?
Answer : No, because account empty
b. Can you create an account whitout entering anything in the fields?
Answer : No, fields must entering
c. Can you make a withdrawal transaction with no amount in the withdrawal field?
Answer : No, because no inputed in field withdrawal
d. Can you do a deposit transaction with no amount in the deposit field?
Answer : No, because no inputed in field deposit
e. What other question do you have about the JavaBank application?
Answer : Why not created a form for separating deposit and withdrawal?
f. What changes would you make to the current application to make it function better?
Answer : I will add a new form to separate between the deposit and withdrawal that a
more structured program
g. What additions would you make to the current application to increase its functionality?
Answer : I would make two form the first form for the deposit and the second for
withdrawal
8. Examine the code files and record the answers to the following questions in your
Journal.
10. Perform the following transactions and display the accounts to ensure they have
been completed
a. What are the accesor method in the account class? Which procedure calls these
accesors?
Answer : Getaccountname(), getaccountnum(), getbalance(), because it have return
value
b. What are the modifier methods? Whisch procedure calls these modifiers?
Answer : Setaccountname(String name), setaccountnum(int num), setbalance(int
num)
11. Where the instances created as you expected?
Answer : yes, I were