Guest User

Untitled

a guest
Jul 16th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. Iterator it = stack.iterator();
  2. while(it.hasNext())
  3. System.out.print(it.next()+"t");
  4.  
  5. Iterator it2 = stack.iterator();
  6. while(it2.hasNext())
  7. System.out.print(stack.pop()+"t");
Add Comment
Please, Sign In to add comment