Fund. CS II (CS152 2004F)

Homework 32: Finishing ArrayBasedStack

Due: Wednesday, 27 October 2004

In class, we started to develop the rebelsky.linear.ArrayBasedStack class. Update that class so that put never fails. In particular, whenever we try to put an element and the underlying array is full, you must create a new, bigger, array and copy the elements over to that array.

Disclaimer: I usually create these pages on the fly, which means that I rarely proofread them and they may contain bad grammar and incorrect details. It also means that I tend to update them regularly (see the history for more details). Feel free to contact me with any suggestions for changes.

This document was generated by Siteweaver on Wed Dec 8 10:36:55 2004.
The source to the document was last modified on Mon Oct 25 10:22:38 2004.
This document may be found at

You may wish to validate this document's HTML ; Valid CSS! ; Check with Bobby

Samuel A. Rebelsky,