Home » JAVA Programming » Data Structures » Question
  1. What is the difference between Queue and Stack?
    1. Queue is LIFO; Stack is FIFO
    2. Stack and Queue is LIFO
    3. Stack is LIFO; Queue is FIFO
    4. Stack and Queue is FIFO
    5. None of these
Correct Option: C

Stack is Last in First out (LIFO) and Queue is First in First out(FIFO).



Your comments will be displayed only after manual approval.