当前位置: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 2 causes the compilation to fail.
E .  “Running” is printed and the program exits.

言词原则 多边形的顶点和点阵表示各有什么优缺点? 证据原因 书证 由大气中的水、氧、酸性污染物等物质的作用而引起的腐蚀是() 大气腐蚀。 海水腐蚀。 土壤腐蚀。 金属腐蚀。

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?()      

参考答案:

  参考解析

本题暂无解析

在线 客服