A Stack reference class

Share:

Description

Derived from the Queue class.

Fields

data

Initial data to populate the stack.

Methods

push(item)

Inserts element at back of the queue.

See Also

Queue-class for information on base class.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.