member function for stack class

The array-based implementations of stacks in this section impose and upper limit on the max size that a stack may have. Write a member function full() for the stack class that returns true or false according to whether or not the array used to store the stack elements is full...

The way you implement method full() is going to depend quite a bit on how you implement push() and pop() (since you need to know where push puts the next item, or pop gets it). If you are thinking about how to code it easily, you might be tempted to push at stackData[0], but I recommend that you try to find a way to push and pop at the other end of the array, to avoid shifting all the data when you manipulate the stack.