Question:What will be the output of the program?
class Bitwise 
{
    public static void main(String [] args) 
    {
        int x = 11 & 9;
        int y = x ^ 3;
        System.out.println( y | 12 );
    }
}
 

A 0 

B 7 

C 8 

D 14 

+ Answer
+ Explanation
+ Report
Total Preview: 1209

Copyright © 2024. Powered by Intellect Software Ltd