Java Stack Assignment

A Stack is a “LIFO” data structure (last in first out).

Here’ s an animation of how stacks are used in an RPN calculator.

More RPN practice

 

Create a stack Class that is based off of your linkedList code.

 

A stack has the following 3 methods

 

 

 

Create an RPN calculator Class