B D G M O W

B

Bank - class Bank.
A Bank object simulates the behavior of a simple bank/ATM.
Bank(String) - Constructor for class Bank
Construct a Bank with the given name.
BankAccount - class BankAccount.
A BankAccount object has a private field to keep track of this account's current balance, and public methods to return and change the balance.
BankAccount(int) - Constructor for class BankAccount
A constructor for creating a new bank account.

D

deposit(int) - Method in class BankAccount
Deposit the amount requested.

G

getBalance() - Method in class BankAccount
The current account balance.

M

main(String[]) - Static method in class Bank
The Bank simulation program begins here when the user issues the command java Bank.

O

open() - Method in class Bank
Open the Bank for business.

W

withdraw(int) - Method in class BankAccount
Withdraw the amount requested.

B D G M O W