Java Queue uses the FIFO rule that is first in first out, the element that is added first is always removed first. Queue has extends Collection interface.
seen from Israel

seen from Dominican Republic
seen from China
seen from Israel

seen from Singapore
seen from Germany

seen from United States
seen from United States
seen from United Kingdom
seen from Senegal
seen from United States
seen from Denmark
seen from Indonesia

seen from Australia
seen from China
seen from United States
seen from China
seen from China
seen from United States

seen from Dominican Republic
Java Queue uses the FIFO rule that is first in first out, the element that is added first is always removed first. Queue has extends Collection interface.
Java queue interface defines queue data structure which is normally First-In-First-Out(FIFO). PriorityQueue class inherit Queue interface.