單項選擇題

public class Yippee2 { 
static public void main(String [] yahoo) { 
for(int x= 1; xSystem.out.print(yahoo[x] + “ “); 
} 
} 
} 
and the command line invocation: java Yippee2 a b c What is the result?() 
 

A.a b
B.b c
C.a b c
D. Compilation fails.
E. An exception is thrown at runtime.

微信掃碼免費搜題