摘要:
package Interview; /** * Created by Jackson on 2017/9/18 10:55 * 因为java引入了中间缓存变量的机制,所以,j=j++可以换成如下写法 * temp=j; * j=j++; * j=temp; * 所以程序最终输出结果为 0 */ public class interview { public static... 阅读全文
摘要:
1. 下面代码的输出结果: package Interview; /** * Created by Jackson on 2017/9/18 9:39 */ public class Test{ static{ int x = 5; } static int x,y;//x等于0 y等于0 public static void main(... 阅读全文