File: createNewFile()
/* */ import java.io.File; public class MainClass { public static void main(String[] args) throws Exception{ new File("newFile.txt").createNewFile(); } }