java文件路径问题
import java.util.*;import *;
public class HelloWorld {
public static void main(String[] args) throws FileNotFoundException {
Scanner in = new Scanner(Paths.get("E:\\java\\test.txt"));//这一行总是显示//Paths cannot be resolved
}
}
大神帮忙看下吧,实在没辙了!我是一个java初学者
[此贴子已经被作者于2016-5-14 13:41编辑过]