Stack Example

This gives two versions of stack implementations, one is a simple version using arrays, the other is taken from the book. Both are used to create postfix expression evaluators. A Driver tests both evaluators.

Here is the documentation for the project, created with javadoc.

Here is the code for the project. If you download these files, you can re-create the entire project.

  1. ArrayStack
  2. MyStack
  3. ArrayStackEvaluator
  4. MyStackEvaluator
  5. Driver