Exploring the Power of Queues: FIFO in Action with Java Examples