资源描述:
《Object-Oriented Programming and Java》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、Object-OrientedProgrammingandJavaDannyPooDerekKiong••SwarnalathaAshokObject-OrientedProgrammingandJavaSecondeditionDrDannyPooDrDerekKiongSchoolofComputingInstituteofSystemsScienceNationalUniversityofSingapore,SingaporeNationalUniversityofSingapore,SingaporeMs
2、SwarnalathaAshokInstituteofSystemsScienceNationalUniversityofSingapore,SingaporeBritishLibraryCataloguinginPublicationDataAcataloguerecordforthisbookisavailablefromtheBritishLibraryLibraryofCongressControlNumber:2007934261ISBN-13:978-1-84628-962-0e-ISBN-13:97
3、8-1-84628-963-7Firstedition©SpringerSingapore1998;978-981-3083-96-7Printedonacid-freepaper©Springer-VerlagLondonLimited2008Apartfromanyfairdealingforthepurposesofresearchorprivatestudy,orcriticismorreview,aspermittedundertheCopyright,DesignsandPatentsAct1988,
4、thispublicationmayonlybereproduced,storedortransmitted,inanyformorbyanymeans,withthepriorpermissioninwritingofthepublishers,orinthecaseofreprographicreproductioninaccordancewiththetermsoflicencesissuedbytheCopyrightLicensingAgency.Enquiriesconcerningreproduct
5、ionoutsidethosetermsshouldbesenttothepublishers.Theuseofregisterednames,trademarks,etc.inthispublicationdoesnotimply,evenintheabsenceofaspecificstatement,thatsuchnamesareexemptfromtherelevantlawsandregulationsandthereforefreeforgeneraluse.Thepublishermakesnor
6、epresentation,expressorimplied,withregardtotheaccuracyoftheinformationcontainedinthisbookandcannotacceptanylegalresponsibilityorliabilityforanyerrorsoromissionsthatmaybemade.987654321SpringerScience+BusinessMediaspringer.comTableofContentsPrefaceto1stEditionx
7、iiiPrefaceto2ndEditionxvOverviewxviiAcknowledgementxix1Introduction11.1Object-OrientedProgramming11.2ObjectsandTheirInteractionsintheRealWorld21.3ObjectsandTheirInteractionsinProgramming31.4Simulation31.5Java41.6Summary41.7Exercises52Object,Class,MessageandMe
8、thod72.1ObjectsandClass72.2MessageandMethod92.2.1MessageComponents102.2.2Method102.2.3ClientandServer112.3CreatingObjects122.4Summary142.5Exercises143AQuickTourofJava173.1PrimitiveTypes17