![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
日常菜
ZhangQQQQQQQQ
就是个菜逼
展开
-
关于Integer判断是否相等的一个有意思的地方
今日我在网上看到了一段很有意思的代码,拿出来与大家分享一波: public static void main(String[] args) { Integer a, b; a = 1000; b = 1000; System.out.print(a == b); a = 100; ...原创 2018-04-22 20:39:03 · 190 阅读 · 0 评论 -
try块的一个需要注意的地方
首先看一段代码: public class Test { public static void main(String[] args) { System.out.println("return value of getValue(): " + getValue()); } public static int getValue() ...原创 2018-04-19 23:24:23 · 215 阅读 · 0 评论