What is the output of this program?

class bitwise_operator

{

     public static void main(String args[ ])

 {

    int a = 3;

    int b = 6;

    int c = a | b;

    int d = a & b;

    System.out.println(c + " " + d);

 }

}

1
7 2
2
7 7
3
7 5
4
5 2

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation