Any help on this would be greatly appreciated
Thanks
Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!
private void fileLoop() { int count = 0; String name = "file"; String filename = name + count + ".txt"; boolean done = false; ArrayList[] lists = new ArrayList[4]; while( !done ) { try { lists[ count ] = readFile( filename ); } catch( IOException ioe ) { System.out.println( " error reading " + filename ); done = true; } count++; filename = name + count + ".txt"; if( count >= lists.length ) { done = true; } } }
0 members, 0 guests, 0 anonymous users
Community Forum Software by IP.Board
Licensed to: Geeks to Go, Inc.