Bitwize_operator in java - OR,AND,XOR
public class j03_bitwize_operator {
public static void main(String[] args) {
int x = 3, y = 6;
System.out.printf("Bitwise OR ", x & y);
System.out.printf("Bitwise AND ", x | y);
System.out.printf("Bitwise XOR ", x ^ y);
}
}
Comments
Post a Comment