zoukankan
html css js c++ java
Java-编码约定
Java编码约定
为增强程序可读性,
Java作如下的约定:
类、接口:通常使用名词,大小写可混用,但首字母应大写,一般使用“驼峰法命名”;
方法:通常使用动词,首字母小写,其后用大写字母分隔每个单词,如:setAccount();;
常量:全部大写,单词之间用下划线分隔;
变量:通常使用名词,首字母小写,其后大写字母分隔每个单词,避免使用
$符号。
查看全文
相关阅读:
HDU 5486 Difference of Clustering 图论
HDU 5481 Desiderium 动态规划
hdu 5480 Conturbatio 线段树 单点更新,区间查询最小值
HDU 5478 Can you find it 随机化 数学
HDU 5477 A Sweet Journey 水题
HDU 5476 Explore Track of Point 数学平几
HDU 5475 An easy problem 线段树
ZOJ 3829 Known Notation 贪心
ZOJ 3827 Information Entropy 水题
zoj 3823 Excavator Contest 构造
原文地址:https://www.cnblogs.com/lzhat/p/4310513.html
最新文章
hdu 5495 LCS 水题
Aizu 2456 Usoperanto 贪心 拓扑排序
Aizu 2450 Do use segment tree 树链剖分+线段树
模板 树链剖分BFS版本
Aizu 2306 Rabbit Party DFS
Aizu 2305 Beautiful Currency DP
Aizu 2304 Reverse Roads 费用流
Aizu 2302 On or Off dfs/贪心
Aizu 2309 Sleeping Time DFS
SPOJ
热门文章
Codeforces Round #322 (Div. 2) D. Three Logos 暴力
Codeforces Round #322 (Div. 2) C. Developing Skills 优先队列
Codeforces Round #322 (Div. 2) B. Luxurious Houses 水题
Codeforces Round #322 (Div. 2) A. Vasya the Hipster 水题
BZOJ 2002: [Hnoi2010]Bounce 弹飞绵羊 LCT
BZOJ 2049: [Sdoi2008]Cave 洞穴勘测 LCT
CDOJ 1157 数列(seq) 分块+线段树
HDU 5493 Queue 树状数组
HDU 5492 Find a path DP
HDU 5491 The Next 贪心
Copyright © 2011-2022 走看看