What is the output of the following code
Class demo 
{
Public static void main (String [ ] args)
{
Int n1=2;
Int n2=18;
if(n1>n2)
{
System.out.println (n1);
}
else
{
System.out.println (n2);
}
}
}

Posted on by