![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
qq_41628431
这个作者很懒,什么都没留下…
展开
-
Idea快捷键笔记
选中当前词: ctrl+w:快速加括号和引号有用快速选中当前行: hmoe到行首shift+end选中当前行原创 2019-10-23 20:30:32 · 106 阅读 · 0 评论 -
Java中switch报错Constant expression required
case后传入一个final修饰的Integer常量编译时报Constant expression required错误,改成int之后恢复,我觉得是因为Integer是引用类型虽然可以调用intValue()方法转成int但是在编译期是不能转的编译期无法确定Integer的值所以报错...原创 2019-10-23 19:31:54 · 900 阅读 · 0 评论