• 2022-06-15 问题

    哪些是获取文件属性的方法()。 A: length() B: getName() C: getPath() D: exists()

    哪些是获取文件属性的方法()。 A: length() B: getName() C: getPath() D: exists()

  • 2022-06-11 问题

    下列方法中,用于返回Cookie有效期的是( )。 A: getVersion() B: getValue() C: getMaxAge() D: getPath()

    下列方法中,用于返回Cookie有效期的是( )。 A: getVersion() B: getValue() C: getMaxAge() D: getPath()

  • 2022-07-22 问题

    File类中获取文件绝对路径的方法是() A: getName( ) B: getPath( ) C: getParent( ) D: exists( )

    File类中获取文件绝对路径的方法是() A: getName( ) B: getPath( ) C: getParent( ) D: exists( )

  • 2022-06-25 问题

    获取一个不包含路径的文件名的方法为 A: getName( ) B: getPath( ) C: getAbslutePath( ) D: getParent( )

    获取一个不包含路径的文件名的方法为 A: getName( ) B: getPath( ) C: getAbslutePath( ) D: getParent( )

  • 2022-07-22 问题

    File类中以字符串形式返回文件绝对路径的方法是( )。 A: getParent B: getName C: getAbsolutePath D: getPath

    File类中以字符串形式返回文件绝对路径的方法是( )。 A: getParent B: getName C: getAbsolutePath D: getPath

  • 2022-07-22 问题

    调用URL类对象的哪个方法可以获得URL地址对应的主机名?() A: getHost B: getProtocol C: getPort D: getPath

    调用URL类对象的哪个方法可以获得URL地址对应的主机名?() A: getHost B: getProtocol C: getPort D: getPath

  • 2022-07-22 问题

    File类中以字符串形式返回文件绝对路径的的方法是( ) A: getName() B: getParent() C: getPath() D: getAbsolutePath()

    File类中以字符串形式返回文件绝对路径的的方法是( ) A: getName() B: getParent() C: getPath() D: getAbsolutePath()

  • 2022-07-25 问题

    要判断文件对象是目录或是文件,可以使用File类的 方法。 A: getPath() B: getName() C: isFile() D: isAbsolute()

    要判断文件对象是目录或是文件,可以使用File类的 方法。 A: getPath() B: getName() C: isFile() D: isAbsolute()

  • 2021-04-14 问题

    【单选题】下列File类的方法中,可以获得文件对象父路径名的是 A. getName() B. getParent() C. getPath() D. getAbsolutePath()

    【单选题】下列File类的方法中,可以获得文件对象父路径名的是 A. getName() B. getParent() C. getPath() D. getAbsolutePath()

  • 2022-06-11 问题

    hdfs java api中,用于把文件从linux上传到hdfs的方法是以下哪个? A: copyFromLocalFile B: listStatus C: getPath D: copyToLocalFile

    hdfs java api中,用于把文件从linux上传到hdfs的方法是以下哪个? A: copyFromLocalFile B: listStatus C: getPath D: copyToLocalFile

  • 1 2