This is using for create file.
- Create Folder
- Create File
- Write words to file
- Read file and print
Note: 1.when using BufferedWriter and FileWriter, please remember to clost at last, or it can not save the content you add to the file. 2.When using FileWriter(filePath,true), if you don't add true, then it will clear the txt before, and then write your string. if you add true, then the string will apend to the txt.