多項(xiàng)選擇題

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 "); 
} } 
可產(chǎn)生哪兩項(xiàng)結(jié)果?()

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

微信掃碼免費(fèi)搜題