Search:

Type: Posts; User: babe20042004

Search: Search took 0.10 seconds.

  1. Re: What am I doing wrong with this stack? Java Programming?

    Thanks to all! I've gotten it to work!
    while( ! stack.isEmpty() ){
    Country s=(Country) stack.pop();
    System.out.println(s.name);
    }
  2. What am I doing wrong with this stack? Java Programming?

    I have a program that reads the names of countries from a file, prints them to the screen then prints thm from the stack. However when it prints from the stack this is the resulting output:
    ...
Results 1 to 2 of 2