Making a text file available to all methods in Java
<p>I have a simple single Java file, that has main method and a bunch of other methods. I'd like to open a text file in my main method but keep it open and append to it in my other methods in my java code. what is the best way of doing it in Java. </p>
