26.类Test1、Test2定义如下: 1. public class Test1 2. {public float aMethod(float a,float b) throws 3. Exception{ } 4. 5. } 6. class Test2 extends Test1{ 7. } 将以下哪种方法插入第4行是合法的? A、float aMethod (float a,float b){ } B、public int aMethod(int a,int b) throws Exception{ } C、public float aMethod(float p,float q){ } D、public int aMethod(int a,int b)throws IOException{ }
|
| A B C D |
27.如要求读取大文件的中间一段内容,最方便的采用下列哪种流来操作? A、File stream B、Pipe stream C、Random stream D、Filter stream
|
| A B C D |
28.过滤字节输出流都是____抽象类的子类。 A、FilterOutputStream B、Dataoutput C、DataOutputStream D、InflateroutputStream
|
| A B C D |
29.线程交互中不提倡使用的方法是: A、wait() B、notify() C、stop() D、notifyall()
|
| A B C D |
30.下面不属于线程生命周期的状态的是: A、新建状态 B、可运行状态 C、运行状态 D、等待状态
|
| A B C D |