问题:
public class Test {
public static void leftshift(int i, int j) {
i<<=j;
}
public static void main(String args) {
int i = 4, j = 2;
leftshift(i, j);
System.out.printIn(i);
}
}
What is the result? ()
A . 2
B . 4
C . 8
D . 16
E . The code will not compile.
public class Test {
public static void leftshift(int i, int j) {
i<<=j;
}
public static void main(String args) {
int i = 4, j = 2;
leftshift(i, j);
System.out.printIn(i);
}
}
What is the result? ()
● 参考解析
本题暂无解析
相关内容
相关标签