填空题

在java.io包中有某个类同时实现了Datalnput接口和DataOutput接口,这个类是______。

【参考答案】

RandomAccessFile
<上一题 目录 下一题>
热门 试题

填空题
在下列程序的下划线处,填入适当语句使程序能正确执行并输出异常栈信息。 public class Throwable Exception public static voidmain(Stringargs[i] try thrownewThrowable( 异常 ); catch(Throwablee) System.out.println( CaughtThrowable ); System.out.println( e.getMessage(): +e.getMessage()); System.out.println( e.toString(): +e.toString()); System.out.println( e.printStackTrace(): ); ;
填空题
生成StringBuffer一个对象后,还可用______方法或ensureCapacity()方法来设定缓存大小。
相关试题
  • mouseDragged()方法是MouseMotionListene...
  • 当实现Runnable接口时,要实现的方法是__...
  • 设a=8,则表达式a>>>2的值是____...