摘要:
例题如下 public static void main(String[] args) { char x = 'x'; int i = 10; System.out.println(true? x : i); System.out.println(true? 'x' : 10); } 答案是,120 阅读全文
posted @ 2020-01-09 17:27
可以看看你胖次吗
阅读(329)
评论(0)
推荐(0)
摘要:
首先看一道典型题 public class Test { static int x, y, z; static { int x = 5;//局部变量 x--; } static { x--; } public static void main(String[] args) { System.out. 阅读全文
posted @ 2020-01-09 17:14
可以看看你胖次吗
阅读(573)
评论(0)
推荐(0)

浙公网安备 33010602011771号