填空题
请完成下列语句中应填的内容。
File pathName = new File(args[0]);
String [] fileNames = pathName
【9】
;
1、
【正确答案】
1、getPath()
【答案解析】
[解析] 方法pubfic String getPath()返回文件路径名字符串,即路径文件名。
提交答案
关闭