MCQOPTIONS
Saved Bookmarks
| 1. |
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); } } |
| A. | 7 2 |
| B. | 7 7 |
| C. | 7 5 |
| D. | 5 2 |
| Answer» B. 7 7 | |