Vidyalelo
Java Programming · Q79

Operators

Programming · Java Programming · question 79

Q79

What will be the output of the following Java 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);

A.
7 2
Answer
B.
7 7
C.
7 5
D.
5 2

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board