无码高清视频|成人自拍视频|欧美成人午夜无码A片秀色直播|草美女视频网站|美女被操网站在线观看

單項(xiàng)選擇題

public class TestOne implements Runnable { 
public static void main (String[] args) throws Exception { 
Thread t = new Thread(new TestOne()); 
t.start(); 
System.out.print(”Started”); 
t.join(); 
System.out.print(”Complete”); 
} 
public void run() { 
for (int i= 0; i< 4; i++) { 
 System.out.print(i); 
} 
} 
} 
What can be a result?()

A. Compilation fails.
B. An exception is thrown at runtime.
C. The code executes and prints “StartedComplete”.
D. The code executes and prints “StartedComplete0123”.
E. The code executes and prints “Started0l23Complete”.

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