I am allowed to do a bitwise & between a boolean variable and a String.
There is no compilation error!
What would the result? How does it work.
As per my understanding, it shall not allow the bitwise operation of this type.
Is it a bug or bitwise feature thinks only interms of bit and dont care about type?
It is possible to
bitwise &characters, but not Strings. Exapmle:prints …
whereas this does not compile:
compiler output: