Creating a file in Java is pretty simple using the createNewFile() method of the Java File class. The code sample below will create a an empty file called SampleFileOut.txt in the specified folder. The sampleFileOut String contains the path