Home > database >  In Java 2 Sunday afternoon 0 how equal to 2?
In Java 2 Sunday afternoon 0 how equal to 2?

Time:09-25

In Java 2 Sunday afternoon 0 how equal to 2?
2 several power how to say?

CodePudding user response:

At 2:00 00 0010
0:00 00 0000
^ : algorithm is: two Numbers to binary, then starting from the high, if the same is 0, is not the same for 1

After 2 and 0 is equal to 0000 0010
So 2 ^ 0 equals 2

CodePudding user response:

Math. Pow (x, y)

CodePudding user response:

# 1 is right, bit operations, exclusive or operation
  • Related