EBK STARTING OUT W/JAVA:...DATA...
EBK STARTING OUT W/JAVA:...DATA...
4th Edition
ISBN: 9780134757179
Author: GADDIS
Publisher: PEARSON CO
Question
Book Icon
Chapter 20.3, Problem 20.2CP
Program Plan Intro

Stack:

  • A stack is a linear structure.
  • It follows the order LIFO (last-in-first-out) for performing operations.
  • Mainly two operations are performed in stack which are,
    • Push() – Add item to stack.
    • Pop() – Remove item from stack.

Blurred answer
Students have asked these similar questions
What are the operations that can be performed on a stack?
What operations may be carried out on a stack?
When a stack is created, what are the initial values in the elements array?
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
C++ Programming: From Problem Analysis to Program...
Computer Science
ISBN:9781337102087
Author:D. S. Malik
Publisher:Cengage Learning