
There are two action responsibilities: Store and PrintList. There are three
knowledge responsibilities: GetLength, IsEmtpy, and IsFull.
A List Implementation
As you can see in the specification, the list will be represented in an array from
values[0] to values[length-l]. The constructor must set length to 0. There is
nothing in the documentation to indicate that the items are sorted by value, so store
can put the next value in the length position and increment length. The
documentation tells us that the client is responsible for ensuring that there is room to
store a new item.
There is no iterator provided in the specification. How are we going to ...