I have seen many Java developers confused about && and &.

&& - logical and
& - bitwise and

Java Code:
if(a ==10 && b==20)
{
...
}

System.out.println(3 & 4); // output is 0