What is the difference between ARRAY and STACK?
STACK follows LIFO. Thus the item that is first entered would be the last removed.
In Array the items can be entered or removed in any order.
a stack is simply a special case of an array. You could say that a stack uses user defined methods to remove and add contents to an array such that the LIFO rule is adhered to.