B 2.2.3 Worksheet Java
Name: _________________________ This worksheet uses the standard Java Stack class, which has the following methods: Instructions: For each problem, trace the operations in the order given. Sketch the final state of the stack. Clearly indicate the top of the stack. 1. Basic Trace A new, empty stack s is created. Final Stack: (Sketch here) 2. Trace with peek() A new, empty stack s is created. What is printed to the...