JAVA编码规范 2.docVIP

  • 2
  • 0
  • 约1.68万字
  • 约 29页
  • 2017-11-17 发布于河南
  • 举报
JAVA编码规范 2

Java编码规范 目录 1 文件组织(File Organization) 2 1.1 Java源文件(Java Source Files) 2 1.1.1 开头注释(Beginning Comments) 2 1.1.2 包和引入语句(Package and Import Statements) 3 1.1.3 类和接口声明(Class and Interface Declarations) 3 2 缩进排版(Indentation) 4 2.1 行长度(Line Length) 4 2.2 换行(Wrapping Lines) 4 3 注释(Comments) 7 3.1 实现注释的格式(Implementation Comment Formats) 7 3.1.1 块注释(Block Comments) 8 3.1.2 单行注释(Single-Line Comments) 8 3.1.3 尾端注释(Trailing Comments) 9 3.1.4 行末注释(End-Of-Line Comments) 9 3.2 文档注释(Documentation Comments) 10 4 声明(Declarations) 11 4.1 每行声明变量的数量(Number Per Line) 11 4.2 初始化(Initialization) 11 4.3 布局(Placemen

文档评论(0)

1亿VIP精品文档

相关文档