【发布时间】:2013-08-29 17:11:58
【问题描述】:
public class num {
public static void main(String args[]) {
int i = 5, j = 9, k = 3;
int w, x;
w = i | j | k;
x = i &j & k;
System.out.println(w);
System.out.println(x);
}
}
为什么w = 15 和x = 1 是值?
【问题讨论】:
-
你期待什么答案?
标签: java bit-manipulation operator-keyword