SCJP Java partial operation (you can see)

xiaoxiao2021-03-06  53

Java partial ophthalmology http://blog.9cbs.net/duoshanx ~ ffffffff1=14 Take the reverse 14 6 ^ 2 = 5 different or 6 = 110 One is 1 (not at the same time), the result is 1, 2 = 010 = 101 Result is 5 5 & 6 = 4 and 5 = 101 all 1 6 = 110 = 100 results are 4 5 | 6 = 8 or 110 one of them, then 1, all 1, more 1 101 111 Result 8 -5 >> 3 = 40 left shift-5 * 23 = -40 23 << 3 = 2 positive right shift 23/23 = 2 23/8 = 2.875 Remove 2, because it is int -23 < <3 = -3 negative number right shift 23/8 = 2.875 If there is a number of incoming 1 -89 >>> 32 = itself does not have a fixed number right shift 89 >>> 32 = it itself xxx >>> 31 = 0

转载请注明原文地址:https://www.9cbs.com/read-118020.html

New Post(0)