Java Reference
In-Depth Information
This constructor creates a queue large enough to hold the characters in
a
and then
stores those characters in the queue.
4
. Here is the complete updated
Queue
class along with the
QDemo2
class, which
demonstrates it: