![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
晴依小雨
这个作者很懒,什么都没留下…
展开
-
String字符串例子
public static void test(){ String a = "a" + "b" + 1; String b = "ab1"; System.out.println(a == b); }原创 2014-10-25 17:23:00 · 539 阅读 · 0 评论 -
使用枚举规范方法命名
枚举类: public enum UserOptionEnum { SAVE_USER, DELETE_USER, GET_USER_BY_ID } 规范方法命名: public class StringUtil { public static String convertDbStyleToJavaStyle(原创 2014-12-10 13:17:09 · 27596 阅读 · 0 评论