Kurt Tomson
Thursday, August 18, 2011
Output file formatting in Java?
Every time you open the file (the PrintWriter), it deletes the old file and makes a new one. The best option would be to create the PrintWriter *once*. Declare it outside the loop.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment