Java Reference
In-Depth Information
whose size is long enough to store the number of objects that will be placed in the
queue.
For example, the following sequence shows how to create a queue that holds strings:
4. Create a file called GenQDemo.java and put the following code into it. This program
demonstrates the generic queue.
Search WWH ::




Custom Search