欢迎来到天天文库
浏览记录
ID:34459499
大小:246.13 KB
页数:26页
时间:2019-03-06
《java编程规范new》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、JavaÔCodingStyleGuideAchutReddyServerManagementToolsGroupSunMicrosystems,Inc.Created:January27,1998Lastmodified:May30,2000ABSTRACTTheimportanceandbenefitsofaconsistentcodingstylearewellknown.ThisdocumentdescribesasetofcodingstandardsandrecommendationsforprogramswrittenintheJavaÔlanguage.Itisin
2、tendedforallJavasoftwarede-velopers.ItcontainsnomaterialproprietarytoSun,andmaybefreelydistributedoutsideSunaswell.Feedbackintheformofcorrectionsorsuggestionsforimprovementarewelcomed.Commentsmaybesenttoachut@eng.sun.com.TableofContents1.0Introduction...........................................
3、............................................................................11.1Background...................................................................................................................11.2Acknowledgments......................................................................
4、...................................12.0SourceFiles........................................................................................................................12.1Sourcefilenaming........................................................................................................
5、22.2Sourcefileorganization................................................................................................22.2.1Copyright/IDblockcomment..............................................................................22.2.2packagedeclaration........................................
6、.....................................................32.2.3importdeclarations.............................................................................................32.2.4class/interfacedeclarations...........................................................................33.0NamingConven
7、tions.........................................................................................................33.1Packagenaming............................................................................................................4
此文档下载收益归作者所有