teratail header banner
teratail header banner
質問するログイン新規登録

回答編集履歴

1

/

2020/05/16 02:30

投稿

TN8001
TN8001

スコア10114

answer CHANGED
@@ -13,7 +13,7 @@
13
13
 
14
14
  public class Main {
15
15
  public static void main(String[] args) throws IOException {
16
- List<String> textList = Files.readAllLines(Paths.get("Users/test/UserInformation"), Charset.forName("Shift-JIS"));
16
+ List<String> textList = Files.readAllLines(Paths.get("/Users/test/UserInformation"), Charset.forName("Shift-JIS"));
17
17
 
18
18
  Scanner scanner = new Scanner(System.in);
19
19
  System.out.print("ユーザー名を入力してください:");