填空题
当实现Runnable接口时,要实现的方法是______。
【参考答案】
run()
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
填空题
mouseDragged()方法是MouseMotionListener接口中的抽象方法,该方法的参数是______类。
点击查看答案&解析
填空题
在下面程序的下画线处,填入适当的语句使程序能正确执行并输出异常栈信息。 public class ThrowableException public static void main(String args[]) try throw new Throwable( 这里是本人定义的异常 ); catch(Throwable e) System.out.println( Caught Throwable ); System.out.println( e.getMessage(): +e.getMessage()); System.out.println( e.toString(): +e.toString()); System.out.println( e.printStackTrace(): ); ______
点击查看答案&解析
相关试题
在Java程序中,主线程一般具有______...