2.
What will be the output of the following Java program?
class bitwise_operator 
{
    public static void main(String args[])
    {
        int var1 = 42;
        int var2 = ~var1;
        System.out.print(var1 + " " + var2);     	
    } 
}

Read More Section(Operators)

Each Section contains maximum 100 MCQs question on Operators. To get more questions visit other sections.