stack::construct()
The constructor. Create an instance of class stack
stack::construct()
There are no parameters.
stack — Returns the instance of class stack
import adt/stack
stack = stack()
stack.push(10)
stack.push(12)
stack.push(8)
writeln(stack.pop())