Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
B
C
D
E
G
S
T
W
B
BankAccount
- Class in
<Unnamed>
BankAccount(double)
- 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.
BankAccount(BankAccount)
- Constructor for class
BankAccount
Copy constructor -- creates a bank account that is a copy of the existing bank account
C
CheckingAccount
- Class in
<Unnamed>
A checking account retains all the features of a bank account.
CheckingAccount(double)
- Constructor for class
CheckingAccount
Creates a checking account with the given initial balance.
CheckingAccount()
- Constructor for class
CheckingAccount
Creates a checking account with initial balance equal to zero.
D
deposit(double)
- Method in class
BankAccount
Deposits the given amount to the account.
depositInterest()
- Method in class
SavingsAccount
Deposits annual interest to the account according to the interest rate.
E
equals(Object)
- Method in class
BankAccount
Checks to see if two bank accounts are equal.
equals(Object)
- Method in class
CheckingAccount
Checks whether two checking accounts are equal.
equals(Object)
- Method in class
SavingsAccount
Checks whether two savings accounts are equal.
G
getAccountNumber()
- Method in class
BankAccount
Returns the account number.
getBalance()
- Method in class
BankAccount
Returns the current balance of the account.
S
SavingsAccount
- Class in
<Unnamed>
A savings account retains all the features of a bank account.
SavingsAccount(double, double)
- Constructor for class
SavingsAccount
Creates a savings account with the given initial balance and interest rate.
SavingsAccount()
- Constructor for class
SavingsAccount
Creates a savings account with initial balance equal to the minimum balance and interest rate equal to 2%.
T
toString()
- Method in class
BankAccount
Transforms the class into a string of the following form (for example, if the balance is 10.56): [BankAccount:balance=10.56]
W
withdraw(double)
- Method in class
BankAccount
Withdraws money from the account.
withdraw(double)
- Method in class
CheckingAccount
Each withdraw charges a fee of $0.25.
withdraw(double)
- Method in class
SavingsAccount
Performs the withdrawal and returns true if the final balance is greater than the minimum balance, otherwise leaves balance unchanged and returns false.
B
C
D
E
G
S
T
W
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes