so lets say I created a stack, and I want to add strings to them...how do I do that?
all I did so far is create the stack, like
Stack stack2 = new Stack();
so after I create my stacks what do I do in the next couple of lines?, how do I add strings to it?
all I did so far is create the stack, like
Stack stack2 = new Stack();
so after I create my stacks what do I do in the next couple of lines?, how do I add strings to it?