【发布时间】:2013-06-05 22:41:47
【问题描述】:
下面的java代码不会运行,我想通过编译这段代码知道结果!
class ParseInt{
static void main(String [] a){
int b=Integer.parseInt(a[0]);
int m = Integer.MIN_VALUE;
for (int i=0; i<32; i++){
System.out.print(( b & m >>> i )== 0 ? "0" : "X");
//System.out.print(((b &(m >>> i))== 0)? "0" : "X");
}
}
}
【问题讨论】:
-
错误信息?输入值?
标签: java compilation