[链接] http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html CONTENTS | PREV | NEXT Code Conventions for the JavaTM Programming Language Revised April 20, 1999 1 Introduction 1.1 Why Have Code Conventions 1.2 Acknowledgments 2 File Names 2.1 File Suffixes 2.2 Common File Names 3 File Organization 3.1 Java Source Files 3.1.1 Beginning Comments 3.1.2 Package and Import Statements 3.1.3 Class and Interface Declarations 4 Indentation 4.1 Line Length 4.2 Wrapping <img src ="aggbug/1892251.aspx" width = "1" height = "1" />
Sun官方发布的Java代码规范
最新推荐文章于 2024-03-23 16:29:22 发布