Object push(Object item)
_INSERT_METHOD_SIGNATURE_HERE_
Description:
This method pushes the item onto the stack.
Example
Stack stack = new Stack();
stack.push("s");
stack.push("t");
stack.push("a");
stack.push("c");
stack.push("k");
Logger.log("top element on the stack: " + stack.peek());
The example above pushes several elements on the stack. The element from the top of the stack is written to the logger.