Does anyone know if there is anyway i can declare an
array static so it holds it's value if i want to access
it from out of it's scope?

String filename
byte[] fileholder;

while ((character = fileinputstream.read(fileholder)) != -1){}
for(int k = 0; k < fileholder.length; k++){
String s = new String(fileholder);
System.out.print(s);}

// when the for loop executes nothing is printed becuase
i think the byte[] file holder is being accessed out
of it's scope. It's not that i need to print out the
contents of fileholder, i just need a way to fill it up
and be able to use it at a later time.