![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java
Java学习
Super__Bb
这个作者很懒,什么都没留下…
展开
-
eclipse new 菜单只有 Project 、Example 、 Other 没有Java Project 、Package 、Class等的解决方法
问题解决方法第一步点击菜单栏的Window第二步点击Perspective及Customize Perspective第三步选择Shortcuts ,再选择Java即可结果原创 2020-08-09 11:34:38 · 1233 阅读 · 4 评论 -
Java Integer 装箱 && 拆箱 && 相等性比较 && NULLPointerException
装箱与拆箱 //手动装箱 Integer a=Integer.valueOf(10); System.out.println("手动装箱"+a.intValue()); //自动装箱 Integer b=10; //自动调用valueof(10)方法 System.out.println("自动装箱"+b.intValue()); //手动拆箱 int c=a.intValue(); System.out.println("手动拆箱"+c); /原创 2020-07-31 17:41:00 · 136 阅读 · 0 评论