网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

对于FileInputStream类,下列哪一项是不正确的()

  • A、从InputStream类继承
  • B、不支持InputStream的有些方法
  • C、不适合读取字符文件,适合读取字节文件
  • D、能实现文件的倒序读取

参考答案

更多 “对于FileInputStream类,下列哪一项是不正确的()A、从InputStream类继承B、不支持InputStream的有些方法C、不适合读取字符文件,适合读取字节文件D、能实现文件的倒序读取” 相关考题
考题 对于梅尼埃病临床表现的描述,下列哪一项是不正确的( )A、眩晕B、耳鸣C、神志不清D、耳聋E、头脑胀满感

考题 下列InputStream构造方法正确的是()。 A、InputStream in=new FileReader(“file.txt”)B、InputStream in=new FileInputStream(“file.txt”)C、InputStream in=new InputStreamFileReader (“file.txt”,“read”)D、FileInputStream in=new FileReader(new File(“file.txt”))

考题 下列( )不是FilterlnputStream的子类。A.CheckedInputStreamB.BufferedInputStreamC.PushbackInputStreamD.FileInputStream

考题 在读字符文件emplyee.dat时,使用该文件作为参数的类是( )。A.BufferReaderB.DataInputStreamC.DataOutputStreamD.FileInputStream

考题 要从“file.dat”文件中读出第10个字节存到变量C中,下列______方法是合适的。A.FileInputStream in=new FileInputStream("file.dat");in.skip(9);int c=in.read( );B.FileInputStream in=new FileInputStream("file.dat");in.skip(10);int c=in.read( );C.FileInputStream in=new FileInputStream("file.dat");int c=in.read( );D.RandomAccessFile in=new RandomAccessFile("file.dat");in.skip(9);int c=in.readByte( );

考题 关于单选框,下列哪一项是不正确的()A、从复选框衍生而来B、对于一个单选框组,一般情况下可都不选中C、和复选框使用同一个类CheckboxD、需要配合CheckboxGroup使用

考题 要从文件" file.dat"文件中读出第10个字节到变量C中,下列哪个方法适合? ()A、 FileInputStream in=new FileInputStream("file.dat"); in.skip(9); int c=in.read();B、 FileInputStream in=new FileInputStream("file.dat"); in.skip(10); int c=in.read();C、 FileInputStream in=new FileInputStream("file.dat"); int c=in.read();D、 RandomAccessFile in=new RandomAccessFile("file.dat"); in.skip(9); int c=in.readByte();

考题 关于InputStream的描述,下列哪一项是不正确的()A、以字节为单位输入B、是多个流类的父类C、StringBufferInputStream是其中一个子类D、一般不用来处理文件输入

考题 对于ByteArrayInputStream类,下列哪一项是不正确的()A、和InputStream类有很大的不同B、有四个成员变量:buf、count、mark、posC、可以重读部分输入流数据D、可以对输入流数据字节数计数

考题 对于键盘事件类KeyEvent,下列哪一项是不正确的()A、监听器为KeyListenerB、监听器有三个抽象方法,处理不同的键盘事件C、主要有键按下,键抬起,击键(按下+抬起)三类事件D、对一次击键,监听器只能选择处理一种事件

考题 对于鼠标事件MouseEvent,下列哪一项是不正确的()A、有两类监听器,MouseListener和MouseMotionListenerB、MouseListener处理鼠标点击事件C、一次鼠标操作,只能触发两类监听器中的一种D、MouseMotionListener处理鼠标移动事件

考题 下列属于文件输入输出类的是()A、 FileInputStream和FileOutputStreamB、 BufferInputStream和BufferOutputStreamC、 PipedInputStream和PipedOutputStreamD、 以上都是

考题 要从文件"file.dat"中读出第10个字节到变量c中,下列哪个方法适合?()A、FileInputStream in=new FileInputStream("file.dat");in.skip(9);intc=in.read()B、FileInputStream in=new FileInputStream("file.dat");in.skip(10);intc=in.read()C、FileInputStream in=new FileInputStream("file.dat");intc=in.read()D、RandomAccessFile in=new RandomAccessFile("file.dat");in.skip(9);intc=in.readByte()

考题 对于Java标准输入输出流,下列哪一项是不正确的()A、标准输入流B、错误输入流C、标准输出流D、错误输出流

考题 下面哪个类不能直接读取磁盘文件()A、FileReaderB、RandomAccessFileC、FilterReaderD、FileInputStream

考题 单选题关于流(Stream)相关的类,下列哪一项是不正确的()A InputStream和OutputStream类是用来处理字节(8位)流的B Reader和Writer类用来处理字符(16位)流C 各个类之间相互独立,没有关联D File类则用来处理文件

考题 单选题对于Java标准输入输出流,下列哪一项是不正确的()A 标准输入流B 错误输入流C 标准输出流D 错误输出流

考题 单选题关于菜单相关类的继承结构,下列哪一项是不正确的()A Menu是MenuItem的子类B MenuBar是MenuComponent的子类C PopupMenu是Menu的子类D CheckboxMenuItem是Menu的子类

考题 单选题关于单选框,下列哪一项是不正确的()A 从复选框衍生而来B 对于一个单选框组,一般情况下可都不选中C 和复选框使用同一个类CheckboxD 需要配合CheckboxGroup使用

考题 单选题对于FileInputStream类,下列哪一项是不正确的()A 从InputStream类继承B 不支持InputStream的有些方法C 不适合读取字符文件,适合读取字节文件D 能实现文件的倒序读取

考题 单选题要从文件" file.dat"文件中读出第10个字节到变量C中,下列哪个方法适合? ()A  FileInputStream in=new FileInputStream(file.dat); in.skip(9); int c=in.read();B  FileInputStream in=new FileInputStream(file.dat); in.skip(10); int c=in.read();C  FileInputStream in=new FileInputStream(file.dat); int c=in.read();D  RandomAccessFile in=new RandomAccessFile(file.dat); in.skip(9); int c=in.readByte();

考题 单选题对于梅尼埃病临床表现的描述,下列哪一项是不正确的()A 眩晕B 耳鸣C 神志不清D 耳聋E 头脑胀满感

考题 单选题对于FileInputStream和FileOutputStream类,下面哪个方法不会产生IOException异常()A 二者的构造函数B read()C close()D write()

考题 单选题关于InputStream的描述,下列哪一项是不正确的()A 以字节为单位输入B 是多个流类的父类C StringBufferInputStream是其中一个子类D 一般不用来处理文件输入

考题 单选题对于ByteArrayInputStream类,下列哪一项是不正确的()A 和InputStream类有很大的不同B 有四个成员变量:buf、count、mark、posC 可以重读部分输入流数据D 可以对输入流数据字节数计数

考题 单选题对于鼠标事件MouseEvent,下列哪一项是不正确的()A 有两类监听器,MouseListener和MouseMotionListenerB MouseListener处理鼠标点击事件C 一次鼠标操作,只能触发两类监听器中的一种D MouseMotionListener处理鼠标移动事件

考题 单选题下列属于文件输入输出类的是()A  FileInputStream和FileOutputStreamB  BufferInputStream和BufferOutputStreamC  PipedInputStream和PipedOutputStreamD  以上都是