Back to home

Start Practice


Question-1 

What can be the test-expression for if in the following program?
int a=12,b=21;
if(?)
{
System.Out.Println ("A is largest");
}
else
{
System.Out.Print ("B is largest");

}


(A)

a<b


(B)

a>b

(C)

a!=b

(D)

a!<b





Powered By