Example Report

Hi everybody,

I've copied an example of the program test report for assignment 7 below. Some of you had trouble getting your programs to work well. Please have a look at the output of this assignment. Please also let me know if you need an example implementation.

I tested several cases based on the assignment description. Part 1 is for the linked list queue. Part 2 is for the array queue.

If you submitted your assignment 7, you will soon receive an email from me with your report and score. If you haven't received the email by late tonight, let me know. Also let me know if you have any questions regarding your score.

Cheers!
Jade


Here is your score for Assignment 7.

Score: TDB%

Let me know if you have any questions regarding your score. And let me know if you want a copy of an example implementation for the assignment.

Regards,
Jade

Grading Guildelines


Test Results

Part 1 — Linked List Queue

% java ChengJade7
testing the linked list queue.. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: a Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: b Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: c Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'a'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'b'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'c'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: quit
% java ChengJade7
testing the linked list queue.. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: a Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: a Offer returned 'false'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: b Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: b Offer returned 'false'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: c Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: c Offer returned 'false'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'a'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'b'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'c'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'null'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'null'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'null'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: quit
% java ChengJade7
testing the linked list queue.. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: a Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: null Offer returned 'false'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: b Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'a'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'b'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'null'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: quit
% java ChengJade7
testing the linked list queue.. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: a Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: b Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: c Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: d Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: e Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: f Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: g Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: h Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: i Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: j Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: k Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: l Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: m Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: n Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'a'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'b'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'c'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'd'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: a Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: b Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: c Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: d Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: e Offer returned 'false'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: f Offer returned 'false'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: g Offer returned 'false'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: h Offer returned 'false'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: i Offer returned 'false'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: j Offer returned 'false'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'e'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'f'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'g'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'h'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'i'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'j'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'k'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'l'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'm'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'n'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'a'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'b'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'c'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'd'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'null'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: quit
% java ChengJade7
testing the linked list queue.. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option:

Part 2 — Array Queue

% java ChengJade7
testing the array queue.. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: a Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: b Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: c Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'a'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'b'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'c'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: quit
% java ChengJade7
testing the array queue.. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: a Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: a Offer returned 'false'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: b Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: b Offer returned 'false'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: c Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: c Offer returned 'false'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'a'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'b'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'c'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'null'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'null'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'null'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: quit
% java ChengJade7
testing the array queue.. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: a Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: null Offer returned 'false'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: b Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'a'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'b'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'null'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: quit
% java ChengJade7
testing the array queue.. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: a Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: b Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: c Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: d Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: e Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: f Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: g Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: h Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: i Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: j Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: k Offer returned 'false'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: l Offer returned 'false'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: m Offer returned 'false'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: n Offer returned 'false'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'a'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'b'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'c'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'd'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: a Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: b Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: c Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: d Offer returned 'true'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: e Offer returned 'false'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: f Offer returned 'false'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: g Offer returned 'false'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: h Offer returned 'false'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: i Offer returned 'false'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: j Offer returned 'false'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'e'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'f'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'g'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'h'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'i'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'j'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'a'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'b'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'c'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'd'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'null'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'null'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'null'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'null'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: poll Poll returned 'null'. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option: quit
% java ChengJade7
testing the array queue.. You may choose one of the following options: 1) 'quit' - quits the program. 2) 'null' - adds a null String to the queue. 3) 'poll' - polls the next String from the queue. 4) Anything else is inserted into the queue. Your option:
Valid HTML 4.01 Valid CSS