Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java create txt file

File myObj = new File("path");
myObj.createNewFile();
FileWriter myWriter = new FileWriter("path");
myWriter.write("text");
myWriter.close();
 
PREVIOUS NEXT
Tagged: #java #create #txt #file
ADD COMMENT
Topic
Name
6+8 =