So after learning both C and Java, Java doesn't have the capability of Bitwise-Anding in an if-statement between two values.
int x = 1011;
int y = 0110;
// 0010
if (x % y) {
printf("EXAMPLE")
}
I know I'm missing something. I think it's because I don't really know understand what's occurring inside the if condition, and what'll make it true or false. Is there a Java equivalent to doing this?