Why does b 1 always equals -1 when b is a byte and has value -1 in Java?
Channel:
Subscribers:
4,130
Published on ● Video Link: https://www.youtube.com/watch?v=keFp-uJ70Ek
Why does b 1 always equals -1 when b is a byte and has value -1 in Java?
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA
Thanks to all those great people for their contributions!
(stackoverflow.com/users/22551351/k-k)K_K
(stackoverflow.com/users/768644/rzwitserloot)rzwitserloot
A special thanks goes out to the (https://stackoverflow.com/questions/77633815/why-does-b-1-always-equals-1-when-b-is-a-byte-and-has-value-1-in-java)Stackexchange community
I wish you all a wonderful day! Stay safe :)
java bitwise-operators byte binary bit-shift
Other Videos By Peter Schneider
Tags:
java
bitwise-operators
byte
binary
bit-shift