请在 下方输入 要搜索的题目:

Which determines if"prefs"is a directory and exists on the file system?


A、Boolean exists=Directory.exists("prefs");;

B、Boolean exists=(new File("prefs")).isDir(); ;

C、Boolean exists=(new Directory("prefs")).exists(); ;

D、Boolean exists=(new File("prefs")).isDirectory();

发布时间:2025-03-03 16:17:18
推荐参考答案 ( 由 快搜搜题库 官方老师解答 )
联系客服
答案:Boolean exists=(new File("prefs")).isDirectory();
专业技术学习
专业技术学习
搜搜题库系统