Joke Collection Website - Joke collection - Another stupid question about java. .
Another stupid question about java. .
| and |||| are OR operations in bit operations, that is, the same in the same bit is 0, otherwise it is 1, just like in the question, 0 and 1 are 1, 1 and 1 are 0, and 0 and 0 are 0.
|||| and | are both judgments before and after. If one of them is true, the result is true, otherwise it is false.
The difference between || and | is that after checking that the first half is true, it is directly positioned as true as a whole, and the second half will not be executed. The other will continue to execute the second half even if the first half is found to be true.
X=0 Assign x to 0. Then (x=0)==0) judge whether the two values before and after = = are equal, which is 1, and return true. The inequality returns false. The following ((y=20)==20) is the same. Obviously, the equation here returns true.
- Previous article:What cartoons make you laugh until your stomach hurts?
- Next article:Jokes, riddles and brain teasers
- Related articles
- Why do so many people hate anti-Japanese dramas?
- The other party said it was poisonous. How can I answer him funny?
- Humorous jokes about the beginning of school
- Taiwan Province dialect, very funny, not easy to understand,
- Xu Nailin, Wu Zongxian and Chang Fei gourd, who is the best?
- Kneel for jokes, puzzles or brain teasers about insurance, used to host. Thank you for your help. Hurry up, thank you!
- English jokes with translation (website)
- A joke about the hierarchy in China.
- The embarrassment of forty years old
- The exhaust check valve is broken. Burning oil?