Guest User

Untitled

a guest
Jul 17th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. public class Main {
  2.  
  3. /**
  4. * @param args the command line arguments
  5. */
  6. public static void main(String[] args) throws IOException
  7. {
  8.  
  9. String outString;
  10. BufferedReader input;
  11. input = new BufferedReader(new FileReader("States.Fall2009.txt"));
  12.  
  13. String strLine;
  14. Statelist[] myarray;
  15. myarray = new String[50];
  16. for(int i = 0; i<50; i++) {
  17. //read in data to strLine, then use this to build the statelist objects
  18. myarray[i] = new StateList(strLine);
  19. }
  20. }
Add Comment
Please, Sign In to add comment