Java package name naming rules: 1. When completed by multiple people, the package name is "indi. Initiator name. Project name. Module name *.*.\*"; 2. Team development, the package name is " team.Team name.Project name.Module name*.*.*"; 3. Company development, the package name is "com.Company name.Project name.Module name*.*.*", etc.
Related recommendations: "Java Video Tutorial"
indi: Completed by multiple people, the copyright belongs to the initiator
包名为indi.发起者名.项目名.模块名*.*.\*
pers: Completed alone, public, the copyright mainly belongs to the individual.
包名为pers.个人名.项目名.模块名*.*.*
priv: Completed alone, non-public, copyright belongs to the individual.
包名为priv.个人名.项目名.模块名*.*.*
team: Team projects refer to projects initiated and developed by the team, and the copyright belongs to the team.
包名为team.团队名.项目名.模块名*.*.*
com: Initiated by the company, the copyright is owned by the company that initiated the project.
包名为com.公司名.项目名.模块名*.*.*
For more related programming knowledge, please visit: Programming Learning Website! !
The above is the detailed content of What are the naming rules for java package names?. For more information, please follow other related articles on the PHP Chinese website!