Bitwise Operators In Java | Java Tutorials |Coding For Beginners | Code Bode

preview_player
Показать описание
#bitwiseoperators #basicsofjava #codebode

Hey guys,
In this video we will learn about bitwise operators
When bitwise operators are executed on conditions they evaluate true or false in the same
way as logical operators but they also check all the conditions irrespective of first conditions

bitiwse operators also work on numbers by coberting numbers to binary bits by applying following rules
// Bitwise &
1 & 1 = 1
1 & 0 = 0
0 & 1 = 0
0 & 0 = 0

// Bitwse |
1 | 1 = 1
1 | 0 = 1
0 | 1 = 1
0 | 0 = 0

Рекомендации по теме