首页 › 答案 › 题库 › 知到智慧树 › 未分类

File类中判断文件是否存在的方法是()。

File类中判断文件是否存在的方法是()。
A.exists()
B.delete()
C.isFile()
D.getName()
正确答案:exists()
标签:文件 方法