Hi,
For creating a new file using JAVA, use the following code.
import java.io.File; public class MainClass { public static void main(String[] a)throws Exception { File myFile = new File("c:\temp\newText.txt"); myFile.createNewFile(); } }
Hi,
For creating a new file using JAVA, use the following code.
import java.io.File; public class MainClass { public static void main(String[] a)throws Exception { File myFile = new File("c:\temp\newText.txt"); myFile.createNewFile(); } }