问题 填空题

请完成下列语句中应填的内容。
File pathName = new File(args[0]);
String [] fileNames = pathName 【9】 ;

答案

参考答案:getPath()

解析: 方法pubfic String getPath()返回文件路径名字符串,即路径文件名。

填空题
单项选择题 A1/A2型题