I just steered the person who asked What does the ampersand do in a print statement? to an example that appears to satisfy him.
How does a question like this get closed (and preferably hidden, as I don't think they add much value to the site)?
Meta Stack Exchange is a question and answer site for meta-discussion of the Stack Exchange family of Q&A websites. It only takes a minute to sign up.Sign up to join this community
As you know the answer is "bitwise and" then finding duplicates will likely be easier working backwards. Just Google "java bitwise and site:stackoverflow.com" and select an appropriate duplicate.
If you can't find one then it is up to you whether or not you want to rewrite the comment as a fuller answer.
Personally I've voted to close as duplicate of How Does The Bitwise & (AND) Work In Java?. The stuff about the print statement isn't really relevant they just want to understand why
10 & 7 == 2