How to use Bitwise AND (&) operator in java?

public class Main {
public static void main(String[] a) {
System.out.println(9 & 7);//1
}
}

output
1