System.out.println("Current Top element of the stack: " + st.peek()); System.out.println("Deleting the top element: " + st.pop()); ...
System.out.println("Current Top element of the stack: " + st.peek()); System.out.println("Deleting the top element: " + st.pop()); ...