/**
*文档注释
*@author Redo
*/
public class TestComment{
public static void main(String[] args){
System.out.println("测试注释");//单行注释
/*
多行注释
多行注释
*/
}
}
| 标识符 | 规范 |
|---|---|
| 项目名 | 全小写 |
| 包名 | 全小写 |
| 类名 | 首字母大写,后续单词首字母大写 |
| 变量名,方法名 | 全小写,后续单词首字母大写 |
| 常量 | 全大写 |
原文:https://www.cnblogs.com/redo19990701/p/11522543.html