Revature interview question

What is the difference between a stack and queue?

Interview Answer

Anonymous

Nov 17, 2020

Stack usess the process of LIFO -- last in first out Queue uses the process of FIFO -- first in first out These both are part of the collection framework in java