Hi,
I am reading
SCJP K & B book, In that they given
You can use a LinkedList to create a first-in, first-out queue.
You can use an ArrayList to keep track of what locations were visited, and in what order.
But I am not understand how to implement first-in, first-out queue. And how to keep track of what locations were visited, and in what order
Any one please help me with examples.
Thanks,
Siva