试题详情
单项选择题 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
  • 关注下方微信公众号,在线模考后查看

热门试题