like this:

while((line = br.readLine())!=null){
String acc[] = line.split("-");
String account = acc[0];
String passcode = acc[4];
}

i would like to declare a string outside the "while...