Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
B
D
G
W
B
BankAccount
- Class in
<Unnamed>
BankAccount()
- Constructor for class
BankAccount
Creates a bank account with initial balance 0 and account number 1.
BankAccount(double, int)
- Constructor for class
BankAccount
Creates a bank account with the given initial balance and given account number.
D
deposit(double)
- Method in class
BankAccount
Deposits funds to the account.
G
getAccountNumber()
- Method in class
BankAccount
Gets the account number.
getBalance()
- Method in class
BankAccount
Gets the curent account balance.
W
withdraw(double)
- Method in class
BankAccount
Withdraws funds from the account if they are available.
B
D
G
W
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes