what is first() method in a queue code example Example: queue.isempty java while (!QUEUE.isEmpty()) { QUEUE.remove(); }