I am kind of confused really. What I'm trying to do is reverse the results of pop meaning my stack should be in order. I haven't made a progress yet.
Type: Posts; User: jwillett29
I am kind of confused really. What I'm trying to do is reverse the results of pop meaning my stack should be in order. I haven't made a progress yet.
public class GenericStackApp
{
public static void main(String args[])
{
GenericStack<String> q1 = new GenericStack<>();
q1.push("Apples");
q1.push("Oranges");
...