91.
What will be the output of the following Java code?
class bool_operator 
{
    public static void main(String args[]) 
    {    
         boolean a = true;
         boolean b = !true;
         boolean c = a | b;
   boolean d = a & b;
         boolean e = d ? b : c;
         System.out.println(d + " " + e);
    } 
}

93.
Which of these statements is correct?

98.
What will be the output of the following Java code?
class ternary_operator 
{
    public static void main(String args[]) 
    {        
         int x = 3;
         int y = ~ x;
         int z;
         z = x > y ? x : y;
         System.out.print(z);
    } 
}

99.
What is true about a break?

Read More Section(Operators)

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