[单选题]Java对文件类提供了许多操作方法,能获得文件对象父路径名的方法是A.getAbsolutePath()B.getParentFile()C.getAbsoluteFile()D.getName()
[单选题]Java对文件类提供了许多操作方法,能获得文件对象父路径名的方法是( )。A.getAbsolutePath()B.getParentFile()C.getAbsoluteFile()D.getName()
[单选题]( 26 ) Java 对文件类提供了许多操作方法,能获得文件对象父路径名的方法是A. ) getAbsolutePath ()B. ) getParentFile ()C. ) getAbsoluteFile ()D. ) getName ()
[试题]java中,File类的构造方法中,File(String praret,String child)和File(File f,String child)有什么区别?
[单选题]删除File实例所对应文件的方法是()A . mkdirB . existsC . deleteD . isHidde
[单选题]( 33 )在程序读入字符文件时,能够以该文件作为直接参数的类是A. ) FileReaderB. ) BufferedReaderC. ) FileInputStreamD. ) ObjectInputStream
[单选题]如果要获得上一级文件夹的路径,可以用的方法()A .GetParentFolerNameB .GetParentFolderC .GetFolderD . D.RootFolder
[单选题]假设文件file处于当前目录下某个子目录中,下列哪个命令可以得到其具体路径名:()A . find.-namefile-printB . FIND.-namefile-printC . find-namefile-print
[单选题]下列关于File类的叙述中,正确的是( )。A.File类是java. io. file包中的非流类B.File类以系统相关的方式描述文件对象的属性C.File类不能读写文件D.File类不能操作文件属性
[单选题]要从文件“file.dar”文件中读出第10个字节到变量C中,下列哪个方法适合 ( )A.FileInputStream in=new FileInputStream("file.dar");in.skip9.;int c=in.read();B.FileInputStream in=new FileInputStream("file.dar");in.skip10.;int c=in.read();C.FileInputStream in=new FileInpmStream("fi