资源描述:
《Chapter 11 Object-Oriented Design》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、Chapter11Object-OrientedDesignChapter6ArraysChapter7ObjectsandClassesChapter8StringsandTextI/OGUIcanbecoveredafter§10.2,“AbstractClasses”Chapter9InheritanceandPolymorphismChapter12GUIBasics§10.2,“AbstractClasses”Chapter13Graphics§10.4,“Interfaces”Chapter14Event-DrivenProgrammingChapter11Object-Or
2、ientedDesignExceptionandbinaryI/OcanbecoveredafterChapter9Chapter17ExceptionsandAssertionsChapter18BinaryI/OLiang,IntroductiontoJavaProgramming,SixthEdition,(c)2007PearsonEducation,Inc.All1rightsreserved.0-13-222158-6ObjectivesFTobecomefamiliarwiththeprocessofprogramdevelopment(§11.2).FTotherelat
3、ionshiptypes:association,aggregation,composition,stronginheritance,andweakinheritance(§11.3).FTodeclareclassestorepresenttherelationshipsamongtheclasses(§11.3).FTodesignsystemsbyidentifyingtheclassesanddiscoveringtherelationshipsamongtheseclasses(§11.4).FToimplementtheRationalclassandprocessratio
4、nalnumbersusingthisclass(§11.5).FTodesignclassesthatfollowtheclass-designguidelines(§11.6).FTomodeldynamicbehaviorusingsequencediagramsandstatechartdiagrams(§11.7Optional)FToknowtheconceptofframework-basedprogrammingusingJavaAPI(§11.8).Liang,IntroductiontoJavaProgramming,SixthEdition,(c)2007Pears
5、onEducation,Inc.All2rightsreserved.0-13-222158-6SoftwareDevelopmentProcessRequirementSpecificationSystemAnalysisSystemDesignImplementationTestingDeploymentMaintenanceLiang,IntroductiontoJavaProgramming,SixthEdition,(c)2007PearsonEducation,Inc.All3rightsreserved.0-13-222158-6RequirementSpecificati
6、onAformalprocessthatseekstounderstandRequirementtheproblemanddocumentindetailwhatSpecificationthesoftwaresystemneedstodo.ThisSystemphaseinvolvescloseinteractionbetweenAnalysisusersanddesigners.SystemDesignImplementationTestingMostoftheexamplesinthisbookaresimple,andtheirrequirementsareclearlystat
7、ed.InDeploymenttherealworld,however,problemsarenotwelldefined.YouneedtostudyaproblemMaintenancecarefullytoidentifyitsrequirements.Liang,IntroductiontoJavaProgramming,SixthEdition,(c)2007PearsonEducation,Inc.All4rightsr