B 2.2.4 Worksheet Java
Name: _________________________ This worksheet uses the standard Java Queue interface, (e.g., Queue<T> q = new LinkedList<>();), which has the following methods: Instructions: For each problem, trace the operations in the order given. Sketch the final state of the queue, showing the front and rear. 1. Basic Trace A new, empty queue q is created. Final Queue: (Sketch here, e.g., FRONT -> [ ... ] <- REAR) 2. Trace with...