Examples and practices described in this page don't take advantage of improvements introduced in later releases and might use technology no longer available.
Let a and b be two operands that can only take binary values i.
If a bit is 1, it will change it to 0.
Exponentiation is not a binary operator in Java.