关于文件输入,用scanner,上出现问题了,求指点,巴拉巴拉巴拉……丧气……
import *;import java.util.*;
public class test {
public static void main(String[] args)
{
Scanner in=new Scanner(File("c:\\1.txt"));//在此位置出错,详情:"The method File(String) is undefined for the type test "!!!
}
}