📜  系统找不到java代码示例中指定的文件

📅  最后修改于: 2022-03-11 14:52:42.003000             🧑  作者: Mango

代码示例1
Generally, just stating the name of file inside the File constructor means 
that the file is located in the same directory as the java file. However, 
when using IDEs like NetBeans and Eclipse i.e. not the case you have to save
the file in the project folder directory. So I think checking that will solve
your problem.