-
Question: Why does the first writing method loop to 8 and 9, the result is not the same as expected,
-
If the program treats 11111110 as a decimal number (the binary of 11111110 decimal is 101010011000101011000110)
-
So how do you explain the results of the previous 7 loops?
The reason for the output:
or the following code can also achieve the effect:
About bit operations in java
Guess you like
Origin blog.csdn.net/qq_16836791/article/details/104839102
Recommended
Ranking