Wednesday, 13 April 2016

Real Life Example of Stack

Real Life Example of Stack

Here we will discuss about Real life example of Stack. Stack is the way of arranging data in LIFO Principal. It means last entered data will remove first.

real life example of stack

Real Life Example of Stack

Here we will discuss about some most popular real life example of stack;
  • Stack of plates in a buffet table 
  • Stack of moulded chairs
  • Pile of dinner plates
A good real-life example of a stack is the pile of dinner plates that you encounter when you eat at the local cafeteria: When you remove a plate from the pile, you take the plate on the top of the pile. But this is exactly the plate that was added ("inserted'') most recently to the pile by the dishwasher. If you want the plate at the bottom of the pile, you must remove all the plates on top of it to reach it.

i hope these examples are helpful for you. For study in detail you can visit our website.

8 comments: