Java学习之命令规则
摘要:
我记得有本小册子专门讲命名规则的,很不错。黄色皮子的,不厚。常量:所有单词和字母都是大写,多个单词用下划线连接。ps: final一般和static连用, public static final int AGE_OF_PERSON = 20;这样生成的对象就只有一份常量。 阅读全文
posted @ 2012-05-22 23:10 leohxj 阅读(137) 评论(0) 推荐(0) 编辑
posted @ 2012-05-22 23:10 leohxj 阅读(137) 评论(0) 推荐(0) 编辑
posted @ 2012-05-22 22:09 leohxj 阅读(146) 评论(0) 推荐(0) 编辑
posted @ 2012-05-22 22:06 leohxj 阅读(211) 评论(0) 推荐(0) 编辑
posted @ 2012-05-22 21:45 leohxj 阅读(188) 评论(0) 推荐(0) 编辑
posted @ 2012-05-22 21:16 leohxj 阅读(684) 评论(1) 推荐(1) 编辑
posted @ 2012-05-22 13:26 leohxj 阅读(149) 评论(0) 推荐(0) 编辑