阿里云错题集

自增0504

2.class Happy {
                 public static void main(String args[])     {
                     int i = 1 ;    
                     int j = i++ ;
                     if((i==(++j))&&((i++)==j))     {
                         i += j ;
                     }
                     System.out.println("i = "+i);
                 }
             }
                 运行完上面代码之后输出i的值是多少?
相关知识点: https://edu.aliyun.com/course/34


原文地址:https://www.cnblogs.com/raising/p/12828540.html