Lecture 18 Objectives
At the end of today's class you should
KNOW:
- That well-designed software is written in a way that allows for
changes in the underlying data structure
- Where in your code you would specify the use of a concrete data structure
BE ABLE TO:
- Design a hierarchy that is not dependent on a particular underlying
data structure
Sample Exam Question:
Generalize the withdraw()
and login()
methods from the banking system program, so that neither depend on the underlying data structure being a LinkedList.