title: How do I create a file and write to it?
body: <p>What's the simplest way to <a href="https://docs.oracle.com/javase/tutorial/essential/io/file.html" rel="noreferrer">create and write to a (text) file in Java</a>?</p>