更多“下列选项中属于过滤流Filter Input Stream的子类的是()。A、Data Input StreamB、Data Output StreamC、Print StreamD、Buffered Output Stream”相关问题
  • 第1题:

    Our house is located at the foot of a hill, ____.

    A. it’s facing a stream

    B. it’s faced a stream

    C. its front facing a stream

    D. its front faced a stream


    答案:C

  • 第2题:

    Output is data that has been processed into useful form. called(27). That is a computer processes input into output.

    A.data

    B.information

    C.interface

    D.system


    正确答案:B

  • 第3题:

    如要求读取大文件的中间一段内容,最方便的是采用下列哪种流来操作?

    A.File Stream

    B.Pipe Stream

    C.Random Stream

    D.Filter Stream


    正确答案:C
    解析:随机文件流提供了访问文件中任意一段位置。如果是一个比较大的文件,我们采用略去前面不必要的内容,直接去读取需要的内容,随机文件流提供了这样的方法,这样会有很多的时间和资源。所以我们用RandomStream来访问这个文件。在RandomStream中有一个方法publicintskipBytes(intn)throwsIOException,随机文件访问跳过指定的字节。这个方法比较有用,在本题的情况下,用它比较快捷的读取必要的内容。

  • 第4题:

    下列Java语句从指定网址读取html文件,在下画线处应填上的选项是( )。

    A.Reader

    B.Data Output Stream

    C.Byte Array Input Stream

    D.Input Stream Reader


    正确答案:A
    创建-个Reader流的对象in。

  • 第5题:

    Program( )describes program's objectives,desired output,input data required,processing requirement,and documentation.

    A.specification
    B.flowchart
    C.structure
    D.address

    答案:A
    解析:

  • 第6题:

    下面的说法不正确的是()

    • A、Input Stream与Output Stream类通常是用来处理字节流,也就是二进制文件
    • B、Reader与Writer类则是用来处理字符流,也就是纯文本文件
    • C、Java中IO流的处理通常分为输入和输出两个部分
    • D、File类是输入/输出流类的子类

    正确答案:D

  • 第7题:

    When comparing java.io.BufferedWriter to java.io.FileWriter, which capability exists as a method in only one of the two?() 

    • A、 closing the stream
    • B、 flushing the stream
    • C、 writing to the stream
    • D、 marking a location in the stream
    • E、 writing a line separator to the stream

    正确答案:E

  • 第8题:

    File Output Stream类的父类是()

    • A、File
    • B、File Output
    • C、Output Stream
    • D、Input Stream

    正确答案:C

  • 第9题:

    提供println()方法和print()方法的类是()

    • A、Print Stream
    • B、System
    • C、Input Stream
    • D、DataOutput Stream

    正确答案:A

  • 第10题:

    单选题
    When comparing java.io.BufferedWriter to java.io.FileWriter, which capability exists as a method in only one of the two?()
    A

     closing the stream

    B

     flushing the stream

    C

     writing to the stream

    D

     marking a location in the stream

    E

     writing a line separator to the stream


    正确答案: A
    解析: 暂无解析

  • 第11题:

    多选题
    For a given Servlet Response response, which two retrieve an object for writing text data? ()
    A

    response.get Writer ()

    B

    response.get Output Stream ()

    C

    response.get Output Writer ()

    D

    response.get Writer ().get Output Stream()

    E

    response.get Writer (Writer.OUTPUT_TEXT)


    正确答案: C,D
    解析: 暂无解析

  • 第12题:

    单选题
    下列选项中属于过滤流Filter Input Stream的子类的是()。
    A

    Data Input Stream

    B

    Data Output Stream

    C

    Print Stream

    D

    Buffered Output Stream


    正确答案: A
    解析: 暂无解析

  • 第13题:

    为实现多线程之间的通信,需要使用下列( )流才合适。

    A.filter stream

    B.file stream

    C.random access stream

    D.piped stream


    正确答案:D

  • 第14题:

    为读取的内容进行处理后再输出,需要使用( )。

    A.File stream

    B.Pipe stream

    C.Random stream

    D.Filter stream


    正确答案:D

  • 第15题:

    在J2EE中,下面的代码中出现编译错误的是()。

    A.Filef=newFile("/","autoexec.bat");

    B.DataInput Streamdin=new Data Input Stream(new File Input Stream("autoexec.bat"));

    C.Input Stream Readerin=new Input Stream Reader(System.in);

    D.Output Stream Writer out=new Output Stream Writer(System.in);


    正确答案:B

  • 第16题:

    为读取的内容进行处理后再输出,需要使用下列哪种流?

    A.File stream

    B.Pipe stream

    C.Randam stream

    D.Filter stream


    正确答案:D
    解析:Filterstream类是提供同步访问的机制,并且对读取的内容进行处理后再输出。选项A)FileStream,作为普通的文件流,没有对读取的数据做特殊的处理。选项B)PipeStream要求管道的输入和输出必须接好,然后进行大量的数据的传输,不需要对传输的数据做特殊的处理。选项C)RandamStream随机文件流是应用于文件的随机访问,也不需要将读取的内容进行处理后再输出。

  • 第17题:

    在读字节文件Employee.dat时,使用该文件作为参数的类是()。

    • A、Buffered Reader
    • B、Data Input Stream
    • C、Data Output Stream
    • D、File Input Stream

    正确答案:D

  • 第18题:

    For a given Servlet Response response, which retrieves an object for writing binary data? ()

    • A、 response.get writer ()
    • B、 response.get Output Stream ()
    • C、 response.getOutput Writer()
    • D、 response.get Writer ().get Output Stream ()
    • E、 response.get Writer (Writer.OUTPUT_BINARY)

    正确答案:A,B

  • 第19题:

    不同的操作系统使用不同的路径分隔符。静态常量separator表示路径分隔符,它属于的类是()

    • A、FileInput Stream
    • B、FileOutput Stream
    • C、File
    • D、Input Stream

    正确答案:C

  • 第20题:

    下面哪个流类属于面向字符的输入流()

    • A、Buffered Writer
    • B、FileInput Stream
    • C、ObjectInput Stream
    • D、Input Stream Reader

    正确答案:D

  • 第21题:

    For a given Servlet Response response, which two retrieve an object for writing text data? ()

    • A、 response.get Writer ()
    • B、 response.get Output Stream ()
    • C、 response.get Output Writer ()
    • D、 response.get Writer ().get Output Stream()
    • E、 response.get Writer (Writer.OUTPUT_TEXT)

    正确答案:A,B

  • 第22题:

    多选题
    For a given Servlet Response response, which retrieves an object for writing binary data? ()
    A

    response.get writer ()

    B

    response.get Output Stream ()

    C

    response.getOutput Writer()

    D

    response.get Writer ().get Output Stream ()

    E

    response.get Writer (Writer.OUTPUT_BINARY)


    正确答案: E,A
    解析: 暂无解析

  • 第23题:

    单选题
    在读字节文件Employee.dat时,使用该文件作为参数的类是()。
    A

    Buffered Reader

    B

    Data Input Stream

    C

    Data Output Stream

    D

    File Input Stream


    正确答案: D
    解析: 暂无解析