このプログラムの何が問題なのか、一生わかりません。
import java.io.*;
public class EncyptionAssignment
{
public static void main (String[] args) throws IOException
{
String line;
BufferedReader in;
in = new BufferedReader(new FileReader("notepad encypt.me.txt"));
line = in.readLine();
while(line != null)
{
System.out.println(line);
line = in.readLine();
}
System.out.println(line);
}
}
ファイルが見つからないというエラー メッセージが表示されますが、ファイルが既に存在することはわかっています。ファイルを特別なフォルダに保存する必要がありますか?