当前位置:SCJP程序员认证考试题库

问题:

[单选]

public class Foo implements Runnable ( 
public void run (Thread t) {  
system.out.printIn(“Running.”);  
}  
public static void main (String args) {  
new thread (new Foo()).start();  
}  
)  
What is the result?()  

A .  An exception is thrown.
B .  The program exists without printing anything.
C .  An error at line 1 causes compilation to fail.
D .  An error at line 6 causes the compilation to fail.
E .  “Running” is printed and the program exits.

端承摩擦桩 很多情况下人们往往把能够带来报酬的支出行为称为()  消费。  投资。  储蓄。  支出。 在百度搜索引擎上link指令的意思是() 外链查询指令。 相关域查询指令。 百度收录量查询指令。 无意义。 受唯理派哲学思想影响的是()。 蒙台梭利课程。 福禄贝尔设计的恩物。 方案教学。 直接教学模式。 实验性神经症

public class Foo implements Runnable ( 
public void run (Thread t) {  
system.out.printIn(“Running.”);  
}  
public static void main (String args) {  
new thread (new Foo()).start();  
}  
)  
What is the result?()  

参考答案:

  参考解析

本题暂无解析

在线 客服