int fourthBitFromRight=10&0b1000;System.out.println(fourthBitFromRight);
这段运行之后结果是8,但是不知道是怎么算的
1010 and 1000=1000(都是1取1,否则取0)也就是8