Hi... Ive just ran into some trouble with some assignment questions and i was wondering if some one could help me?

Java Code:
PriorityQueue<String> myQ = new PriorityQueue<String>();
myQ .offer("car");
myQ .offer("bike");
myQ .offer("falcon");
myQ .offer("dodge");
myQ .offer("holden");
int queueSize = myQ .size();
for (int i =0; i< queueSize; i++)
System.out.println(myQ.poll()+ \n);
I would like to know how to read the code and get the outcome?

Thank you for your help.