Stack is a method of organizing data. Queue is an conseption meaning itself, that you take one by one all elements that was putted in it before( usually used when u cant process all elements imidiatly) and it can be realized also as a stack.
to benicawab: Stack is can be FIFO and FILO, means First In First Out & First In Last Out.
In case u organized by yourself some class that will realized two methods "push"(putting in a stack) and "pop"(extracting from a stack).
Answered by
d1koi
at
Oct 22, 2009 04:37 AM