In Java, what is the default location for newly created files?

前端 未结 2 1245
借酒劲吻你
借酒劲吻你 2020-12-01 14:18

In Java, what is the default location for newly created files?

2条回答
  •  被撕碎了的回忆
    2020-12-01 14:55

    Hoping you are using eclipse or net beans ide.The newly created files will be stored in the project workspace based on how you create the file. Eg you can create a file by 1) using createfilename 2)by using file FileOutputStream,FileWriter,PrintWriter etc.

提交回复
热议问题