Pop Method
Take off the element at the top of the stack. If the stack is empty an "Invalid opertion" error will raise.
Syntax
stack.Pop()
Parameters
Name | Type | Description |
---|---|---|
stack | The name of an object of type stack |
Take off the element at the top of the stack. If the stack is empty an "Invalid opertion" error will raise.
stack.Pop()
Name | Type | Description |
---|---|---|
stack | The name of an object of type stack |