What is difference between stack and queue?

by Nirmala 2010-04-07 09:13:39

Difference between oracle8i,oracle9i and oracle 10g
Stack is last in first out(LIFO). that is which is entered last will be retrieved firstly. example of stack is arranging plates in one above one.
Queue is first in first out(FIFO). That is which is entered first will be served first. Example is ordinary queue in provisional store.

Tagged in:

786
like
0
dislike
0
mail
flag

You must LOGIN to add comments