Java认证
Java认证模拟试题(4)
日期:2013-10-31 14:25
question 14)
which of the following lines of code will compile without error
1)
int i=0;if(i) { system.out.println(hello); }
2)
boolean b=true;boolean b2=true;if(b==b2) { system.out.println(so true); }
3)
int i=1;int j=2;if(i==1|| j==2) system.out.println(ok);
4)
int i=1;int j=2;if(i==1 | j==2) system.out.println(ok);
question 15)
what will be output if you try to compile and run the following code, but there is no file called hello.txt in the current directory?.
import java.io.*;pu

1/2 下一页 上一页 首页 尾页

Java认证


返回 刷新 WAP首页 网页版 登录
04/25 23:10