Examveda
Examveda

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);
    } 
}

A. 1

B. 0

C. true

D. false

Answer: Option D


This Question Belongs to Java Program >> Operators

Join The Discussion

Related Questions on Operators