void enqueue(Object o); Object dequeue(); Object next(); boolean isEmpty(); boolean isFull(); String toString();
4: 0 3: 0 2: 0 1: 0 D: 0
. Enter - pushes the display value onto the top of the stack. . "+" - pops the top two numbers, adds them, and pushes the result. . "-" - pops the top two numbers, subtracts the top from second from top, and pushes the result. . "/" - pops the top two numbers, divides the top into second from top. . "*" - pops the top two numbers, multiplies them, and pushes the result. . Swap - swaps the top two stack entries.