Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
B
D
G
W
B
BankAccount
- Class in
<Unnamed>
BankAccount(int)
- Constructor for class
BankAccount
Creates a bank account with the given balance.
BankAccount()
- Constructor for class
BankAccount
Creates a bank account with initial balance of zero.
D
deposit(double)
- Method in class
BankAccount
Deposits the given amount to the account.
G
getBalance()
- Method in class
BankAccount
Returns the current balance of the account.
W
withdraw(double)
- Method in class
BankAccount
Withdraws the given amount from the account and returns true if the resulting balance is positive.
B
D
G
W
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes