标签:
1 public class Test{
2 public static void main (String args[]){
3 int i=5;
4 boolean e=i>4&&i++>7;
5 System.out.println(e);
6 System.out.println(i);
7 }
8 }
以上的程序会输出:
1 public class Test{
2 public static void main (String args[]){
3 int i=5;
4 boolean e=i>6&&i++>7;
5 System.out.println(e);
6 System.out.println(i);
7 }
8 }
就会输出:
标签:
原文地址:http://www.cnblogs.com/livterjava/p/4684465.html