創(chuàng)建流時(shí)參數(shù)報(bào)錯(cuò)
FileInputStream file = new FileInputStream("D:\\DDD\\\Hello.txt");
這樣創(chuàng)建流時(shí),報(bào)錯(cuò)顯示轉(zhuǎn)義序列無效,為什么?
FileInputStream file = new FileInputStream("D:\\DDD\\\Hello.txt");
這樣創(chuàng)建流時(shí),報(bào)錯(cuò)顯示轉(zhuǎn)義序列無效,為什么?
2017-05-06
舉報(bào)
2017-05-07
Hello前面多了一個(gè)轉(zhuǎn)義\? ?轉(zhuǎn)義可以用一個(gè)反斜杠