System.out.printIn(f.getPath()); - Java语言程序设计(一)(04747) - 专业知识收录平台"> System.out.printIn(f.getPath()); - Java语言程序设计(一)(04747) - 专业知识收录平台">
以下程序代码段的输出结果是
File f=new File("/workdisk/persondic/d07.Java");
System.out.printIn(f.getPath());
A./workdisk/persondic
B.\workdisk\persondic
C.\workdisk\persondic\d07.Java
D.C:\workdisk\persondic\d07.Java
正确答案是C
扫描二维码免费使用微信小程序搜题/刷题/查看解析。
版权声明:本文由翰林刷题小程序授权发布,如需转载请注明出处。