Predict the output?

class friend
{
public static void main(String[] args)
{
int a=6;
int b=7;
int total=a+(a7?++b:--b);
System.out.println(total);
}
}

Posted on by