Chapter 7. Packages
The hierarchical naming structure for packages is intended to be convenient for organizing related packages in a conventional manner, but has no significance in itself other than the prohibition against a package having a subpackage with the same simple name as a top level type (§7.6) declared in that package.
包的分级命名结构旨在以一种传统的方式组织相关的包,但是除了禁止对包中具有与该包中声明的顶级类型(7.6)相同的子包的包的禁止外,它本身没有什么意义。
本文探讨了包的分级命名结构的设计目的,旨在通过传统方式组织相关包,同时强调了包命名规范的重要性,特别是避免同一包内顶级类型与子包名称重复的规则。
787

被折叠的 条评论
为什么被折叠?



