Data Structures and Algorithms
with Object-Oriented Design Patterns in C#![]() ![]() ![]() ![]() ![]() |
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
.