previous |
start |
next
Case Study: A Bank Database
- The Bank class needs to connect to the database
whenever it is asked to find a customer
- Its find method
- Connects to the database
- Selects the customer with the given account number
- Verifies the PIN
- Creates an customer object from the database information
previous |
start |
next