标签:out class print oid info src amp 优先级 com
class Demo
{
public static void main(String[] args)
{
int x = 0,y = 1;
/*
if (++x == y-- & x++ ==1 || --y == 0)
{
System.out.println("x="+x+",y="+y); //x = 2,y = 0;
}
else
{
System.out.println("y="+y+",x="+x);
}
*/
if(++x == y--)
System.out.println("y="+y+",x="+x); //成立!
else
System.out.println("x="+x+",y="+y);
}
}
//
标签:out class print oid info src amp 优先级 com
原文地址:https://www.cnblogs.com/wu1611312486/p/10513609.html