Class logical 
{
Public static void main (String [ ] args)
{
Int n1 = 3;
Int n2=6;
boolean res = n1++||++n2==6;
System.out.println (res);
System.out.println (n1);
System.out.println (n2);
}
}

Posted on by