Data Structures and Algorithms
with Object-Oriented Design Patterns in Java
This section describes an array-based implementation of stacks.
Program
introduces the StackAsArray class.
The StackAsArray class is a concrete class
that extends the AbstractContainer class introduced
in Program
and implements the Stack interface defined in Program
.
Copyright © 1998 by Bruno R. Preiss, P.Eng. All rights reserved.