日韩欧美亚洲 _ 欧美亚洲一区 _ 日本亚洲欧美 _ 亚洲精品欧美 国产白袜脚足J棉袜在线观看_亚洲熟妇av一区二区三区_久久天天躁狠狠躁夜_精品众筹模特私拍在线

單項選擇題

What will be the result of attempting to compile and run the following code?()  
public class Q6b0c {  
public static void main(String args[]) { 
int i = 4; 
float f = 4.3;  
double d = 1.8;  
int c = 0;  
if (i == f) c++;  
if (((int) (f + d)) == ((int) f + (int) d))
 c += 2; 
 System.out.println(c); 
 }  
}  

A.The code will fail to compile.
B.0 will be written to the standard output.
C.1 will be written to the standard output.
D.2 will be written to the standard output.
E.3 will be written to the standard output.

題目列表

你可能感興趣的試題

微信掃碼免費搜題