Skip to content

moksha09/Stack-Implemenation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Stack-Implemenation

Stack Implementation in Java

  1. First enter the size of the stack you want to create.

  2. A stack named "stk" of the input size is created.

  3. A list of six Stack operations - [ push, pop, peek, check empty, check full and size] are displayed.

  4. Input the operation you want to perform.

  5. Once the operation is performed if you want to further continue input "y" else input "n".

  6. If "y", then the list of the six operations will be shown again.

  7. If "n", the program is terminated.

About

Stack Implementation in Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages