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.
正确答案:B
答案解析:有
微信扫一扫手机做题