欢迎来到易学考试网 易学考试官网
全部科目 > Java认证考试 > Java认证考试综合练习

多项选择题

class Order implements Runnable {   
public void run ()  { 
try { Thread.sleep (2000) ;  } catch (Exception e)   
System.out.print("in") ; 
public static void main (String [] args)  {   
Thread t = new Thread (new Order ()) ;   
t.start () ; 
System.out.print ("pre ") ; 
try { t.join () ;  } catch (Exception e)  { }   
System.out.print ("post") ;  
可产生哪两项结果?()  

    A. pre in post
    B. pre in
    C. in post pre
    D. in pre post
    E. pre post in

点击查看答案&解析

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题