Java: how to create and write to a file
- by Drew Johnson
What's the simplest way to create and write to a file in Java?
I know this is a very basic question, but the web is full of different answers for different versions of Java and it would be nice to have an answer here on StackOverflow.