I am wondering what is the easiest (and simplest) way to write a text file in Java. Please be simple, because I am a beginner :D
I searched the web and found this co
File file = new File("path/file.name"); IOUtils.write("content", new FileOutputStream(file));
IOUtils also can be used to write/read files easily with java 8.