When you construct a File object with a relative path, Java assumes it is relative to the current directory. Scanner scan = new Scanner(new File("data/input.txt ...
確定! 回上一頁