Java 教程
Java 實例
以下實例演示了使用 File 類的 file.createTempFile() 方法在指定目錄中創(chuàng)建文件:
以上代碼運行輸出結果為:
C:JavaTemp37056.javatemp