51.
Which of these statements are incorrect?

52.
What will be the output of the following Java program?
class comma_operator 
{
    public static void main(String args[]) 
    {    
         int sum = 0;
         for (int i = 0, j = 0; i < 5 & j < 5; ++i, j = i + 1)
             sum += i;
   System.out.println(sum);
    } 
}

56.
What will be the output of the following Java code?
class Relational_operator 
{
    public static void main(String args[])
    {
        int var1 = 5; 
        int var2 = 6;
        System.out.print(var1 > var2);
    } 
}

57.
What will be the output of the following Java program?
class increment 
{
    public static void main(String args[])
    {
        double var1 = 1 + 5; 
        double var2 = var1 / 4;
        int var3 = 1 + 5;
        int var4 = var3 / 4;
        System.out.print(var2 + " " + var4);

    } 
}

59.
What will be the output of the following Java program?
class rightshift_operator 
{
    public static void main(String args[]) 
    {    
         int x; 
         x = 10;
         x = x >> 1;
         System.out.println(x);
    } 
}

60.
Which of these statements are incorrect?

Read More Section(Operators)

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