A __________ is defined as a collection of items in which the last item added to the collection is the first one to be removed - (last in, last out).
Answers
Answered by
0
i think last in
if wrong I say sorry
if wrong I say sorry
Answered by
1
Answer:
Last in First Out
Step-by-step explanation:
Last in First Out (LIFO) is most popular method. Here the last item added to the collection is the first one to be removed.
Example: it is used in Stacks.
whereas First in First Out (FIFO) is the principle where first item is added and then first is removed from the collection.
Similar questions