If the println() executes for all the lines input to the program, then the write() method is also being executed and the file is written to.
The code works for me (after I removed the input file...
Type: Posts; User: Norm
If the println() executes for all the lines input to the program, then the write() method is also being executed and the file is written to.
The code works for me (after I removed the input file...
Is anything printed when the println() statement is not a comment?
Please edit your post and wrap your code with code tags:
YOUR CODE GOES HERE
to get highlighting and preserve formatting.