单选题
下面的程序段创建了BufferedReader类的对象in,以便读取本机c盘my文件夹下的文件1.txt。File构造函数中正确的路径和文件名的表示是______。
File f = new File(填代码处);
file =new FileReader(f);
in=new BufferedReader(file);
A."./1.txt" B."../my/1.txt" C."c://my//1.txt" D."c:/ my/1.txt/
A
B
C
D
【正确答案】
C
【答案解析】
提交答案
关闭