单选题
Java对文件类提供了许多操作方法,能获得文件对象父路径名的方法是______。
A.getAbsolutePath()
B.getParentFile()
C.getAbsoluteFile()
D.getName()
A
B
C
D
【正确答案】
B
【答案解析】
提交答案
关闭