black

SCJP程序员认证考试

登录

单项选择题

public class Test { 
private static float[] f = new float[2]; 
public static void main(String args[]) { 
System.out.println(“f[0] = “ + f[0]); 
} 
}  
What is the result?()  

A. f[0] = 0
B. f[0] = 0.0
C. Compilation fails.
D. An exception is thrown at runtime.

相关考题

单项选择题 Whatisthenumericalrangeofachar?()

多项选择题 WhichtwostatementsaretrueregardingthereturnvaluesofpropertywrittenhashCodeandequalsmethodsfromtwoinstancesofthesameclass?()

多项选择题 WhichtwoarereservedwordsintheJavaprogramminglanguage?()

All Rights Reserved 版权所有©PP题库网库(pptiku.com)

备案号:湘ICP备14005140号-5

经营许可证号:湘B2-20140064