原创 關於二進制位移“>>”和“>>>”的區別小結

1.“>>”即帶符號位移 我們將-20右移四位結果爲-2 public static void main(String[] args) { int x=-20; System.out.println("