Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Main {
- /**
- * @param args the command line arguments
- */
- public static void main(String[] args) throws IOException
- {
- String outString;
- BufferedReader input;
- input = new BufferedReader(new FileReader("States.Fall2009.txt"));
- String strLine;
- Statelist[] myarray;
- myarray = new String[50];
- for(int i = 0; i<50; i++) {
- //read in data to strLine, then use this to build the statelist objects
- myarray[i] = new StateList(strLine);
- }
- }
Add Comment
Please, Sign In to add comment