Java Question :
Show the contents of two initially empty stacks after each of the following statements execute. Assume x, y, m, and q are objects.
If you are writing the contents of your stack horizontally, use the left as the bottom and right as the top of your stack.
1: BOTTOM [ x ] TOP
2: BOTTOM [ ] TOP
1: BOTTOM [ x y ] TOP