Lecture 10
A Bank
object and its fields
Bank
atm:
accountList:
balance:
transactionCount:
BankAccount[]
Terminal
balance:
int
transactionCount:
issuing Bank:
int
Bank
BankAccount
300
4
bankName:
BankAccount[]
0:
1:
2:
int
int
Terminal
String
“River Bank”
600
9

balance:
int
transactionCount:
issuing Bank:
int
Bank
BankAccount
200
3
balance:
int
transactionCount:
issuing Bank:
int
Bank
BankAccount
100
2







