书籍详情
Java大学教程(第六版 英文版)
作者:(美)戴特尔 著
出版社:电子工业出版社
出版时间:2008-07-01
ISBN:9787121070211
定价:¥118.00
购买这本书可以去
内容简介
详细说明了在Java中面向对象编程的基本理论及实用知识,由初学者为起点,由点到面、由浅入深、循序渐进地介绍了应用程序、Applets程序、事件处理、对象、接口、内置类、继承、多态性、数据结构和集合、流文件、串行、图形界面及多线程等多种Java特性,第七版在前一版本的基础上增加了更多的实际案例,并介绍了有关使用UML编程方面的知识,有助于读者学习和借鉴。《Java大学教程》(第六版)(英文版)包括更广泛的教学特性,其中列举了数百条可实际使用的程序实例代码,并给出其实际的运行结果,可以使学生在学习时更为直观,书中给出了丰富的网上资源,可以便于读者进行更进一步的研究和探讨。《Java大学教程》(第六版)(英文版)的写作方法别具一格,易学易用,并且它的覆盖范围很广,可以满足不同专业和不同层次学生的需求。
作者简介
暂缺《Java大学教程(第六版 英文版)》作者简介
目录
Chapter1IntroductiontoComputers,theInternetandtheWorldWideWeb.1.1Introduction1.2WhatIsaComputer?1.3ComputerOrganization1.4EarlyOperatingSystems1.5Personal,DistributedandClient/ServerComputing1.6TheIntemetandtheWorldWideWeb1.7MachineLanguages,AssemblyLanguagesandHigh-LevelLanguages1.8HistoryofCandC++1.9HistoryofJava1.10JavaClassLibraries1.11FORTRAN,COBOL,PascalandAda1.12BASIC,VisualBasic,VisualC++,C#and.NET1.13TypicalJavaDevelopmentEnvironment1.14NotesaboutJavaandJavaHowtoProgram,SixthEdition1.15Test-DrivingaJavaApplication1.16SoftwareEngineeringCaseStudy:IntroductiontoObjectTechnologyandtheUML(Required)1.17Wrap-Up1.18WebResourcesChapter2IntroductiontoJavaApplications2.1Introduction2.2FirstPrograminJava:PrintingaLineofText2.3ModifyingOurFirstJavaProgram2.4DisplayingTextwithprintf2.5AnotherJavaApplication:AddingIntegers2.6MemoryConcepts2.7Arithmetic2.8DecisionMaking:EqualityandRelationalOperators2.9(Optional)SoftwareEngineeringCaseStudy:ExaminingtheRequirementsDocument2.10Wrap-UpChapter3IntroductiontoClassesandObjects3.1Introduction3.2Classes,Objects,MethodsandInstanceVariables3.3DeclaringaClasswithaMethodandInstanfiatinganObjectofaClass3.4DeclaringaMethodwithaParameter3.5InstanceVariables,setMethodsandgetMethods3.6PrimitiveTypesvs.ReferenceTypes3.7InitializingObjectswithConstructors3.8Floating-PointNumbersandTypedouble3.9(Optional)GUIandGraphicsCaseStudy:UsingDialogBoxes3.10(Optional)SoftwareEngineeringCaseStudy:IdentifyingtheClassesinaRequirementsDocument3.11Wrap-UpChapter4ControlStatements:Part14.1Introduction4.2Algorithms4.3Pseudocode4.4ControlStructures4.5ifSingle-SelectionStatement4.6if...elseDouble-SelectionStatement4.7whileRepetitionStatement4.8FormulatingAlgorithms:Counter-ControlledRepetition4.9FormulatingAlgorithms:Sentinel-ControlledRepetition4.10FormulatingAlgorithms:NestedControlStatements4.11CompoundAssignmentOperators4.12IncrementandDecrementOperators4.13PrimitiveTypes4.14(Optional)GUIandGraphicsCaseStudy:CreatingSimpleDrawings4.15(Optional)SoftwareEngineeringCaseStudy:IdentifyingClassAttributes4.16Wrap-UpChapter5ControlStatements:Part25.1Introduction5.2EssentialsofCounter-ControlledRepetition5.3forRepetitionStatement5.4ExamplesUsingtheforStatement5.5do...whileRepetitionStatement5.6switchMultiple-SelectionStatement5.7breakandcontinueStatements5.8LogicalOperators5.9StructuredProgrammingSummary5.10(Optional)GUIandGraphicsCaseStudy:DrawingRectanglesandOvals5.11(Optional)SoftwareEngineeringCaseStudy:IdentifyingObjectsStatesandActivities5.12Wrap-UpChapter6Methods:ADeeperLook6.1Introduction6.2ProgramModulesinJava6.3staticMethods,staticFieldsandClassMath6.4DeclaringMethodswithMultipleParameters6.5NotesonDeclaringandUsingMethods6.6MethodCallStackandActivationRecords6.7ArgumentPromotionandCasting6.8JavaAPIPackages6.9CaseStudy:Random-NumberGeneration6.9.1GeneralizedScalingandShiftingofRandomNumbers6.9.2Random-NumberRepeatabilityforTestingandDebugging6.10CaseStudy:AGameofChance(IntroducingEnumerations)6.11ScopeofDeclarations6.12MethodOverloading6.13(Optional)GUIandGraphicsCaseStudy:ColorsandFilledShapes6.14(Optional)SoftwareEngineeringCaseStudy:IdentifyingClassOperations6.15Wrap-UpChapter7Arrays7.1Introduction7.2Arrays7.3DeclaringandCreatingArrays7.4ExamplesUsingArrays7.5CaseStudy:CardShufflingandDealingSimulation7.6EnhancedforStatement7.7PassingArraystoMethods7.8CaseStudy:ClassGradeBookUsinganArraytoStoreGrades7.9MultidimensionalArrays7.10CaseStudy:ClassGradeBookUsingaTwo-DimensionalArray7.11Variable-LengthArgumentLists7.12UsingCommand-LineArguments7.13(Optional)GUIandGraphicsCaseStudy:DrawingArcs7.14(Optional)SoftwareEngineeringCaseStudy:CollaborationAmongObjects7.15Wrap-UpChapter8ClassesandObjects:ADeeperLook8.1Introduction8.2TimeClassCaseStudy8.3ControllingAccesstoMembers8.4ReferringtotheCurrentObjectsMemberswiththethisReference8.5TimeClassCaseStudy:OverloadedConstructors8.6DefaultandNo-ArgumentConstructors8.7NotesonSetandGetMethods8.8Composition8.9Enumerations8.10GarbageCollectionandMethodfinalize8.11staticClassMembers8.12staticImport8.13finalInstanceVariables8.14SoftwareReusability8.15DataAbstractionandEncapsulation8.16TimeClassCaseStudy:CreatingPackages8.17PackageAccess8.18(Optional)GUIandGraphicsCaseStudy:UsingObjectswithGraphics8.19(Optional)SoftwareEngineeringCaseStudy:StartingtoProgramtheClassesoftheATMSystem8.20Wrap-UpChapter9Object-OrientedProgramming:Inheritance9.1Introduction9.2SuperclassesandSubclasses9.3protectedMembers9.4RelationshipbetweenSuperclassesandSubclasses9.4.1CreatingandUsingaCommissionEmployeeClass9.4.2CreatingaBasePlusCommissionEmployeeClasswithoutUsingInheritance9.4.3CreatingaCommissionEmployee-BasePlusCommissionEmployeeInheritanceHierarchy9.4.4CommissionEmployee-BasePlusCommissionEmployeeInheritanceHierarchyUsingprotectedInstanceVariables9.4.5CommissionEmployee-BasePlusCommissionEmployeeInheritanceHierarchyUsingprivateInstanceVariables9.5ConstructorsinSubclasses9.6SoftwareEngineeringwithInheritance9.7ObjectClass9.8(Optional)GUIandGraphicsCaseStudy:DisplayingTextandImagesUsingLabels9.9Wrap-UpChapter10Object-OrientedProgramming:Polymorphism10.1Introduction10.2PolymorphismExamples10.3DemonstratingPolymorphicBehavior10.4AbstractClassesandMethods10.5CaseStudy:PayrollSystemUsingPolymorphism10.5.1CreatingAbstractSuperclassEmployee10.5.2CreatingConcreteSubclassSalariedEmployee10.5.3CreatingConcreteSubclassHourlyEmployee10.5.4CreatingConcreteSubclassCommissionEmployee10.5.5CreatingIndirectConcreteSubclassBasePlusCommissionEmployee10.5.6DemonstratingPolymorphicProcessing,OperatorinstanceofandDowncasting10.5.7SummaryoftheAllowedAssignmentsBetweenSuperclassandSubclassVariables10.6finalMethodsandClasses10.7CaseStudy:CreatingandUsingInterfaces10.7.1DevelopingaPayableHierarchy10.7.2DeclaringInterfacePayable10.7.3CreatingClassInvoice10.7.4ModifyingClassEmployeetoImplementInterfacePayable10.7.5ModifyingClassSalariedEmployeeforUseinthePayableHierarchy10.7.6UsingInterfacePayabletoProcessInvoicesandEmployeesPolymorphically.10.7.7DeclaringConstantswithInterfaces10.7.8CommonInterfacesoftheJavaAPI10.8(Optional)GUIandGraphicsCaseStudy:DrawingwithPolymorphism10.9(Optional)SoftwareEngineeringCaseStudy:IncorporatingInheritanceintotheATMSystem10.10Wrap-UpChapter11GUIComponents:Part111.1Introduction11.2SimpleGUI-BasedInput/OutputwithJOptionPane11.3OverviewofSwingComponents11.4DisplayingTextandImagesinaWindow11.5TextFieldsandanIntroductiontoEventHandlingwithNestedClasses11.6CommonGUIEventTypesandListenerInterfaces11.7HowEventHandlingWorks11.8JButton11.9ButtonsThatMaintainState11.9.1JCheckBox11.9.2JRadioButton11.10JComboBoxandUsinganAnonymousInnerClassforEventHandling11.11JList11.12Multiple-SelectionLists11.13MouseEventHandling11.14AdapterClasses11.15JPanelSubclassforDrawingwiththeMouse11.16Key-EventHandling11.17LayoutManagers11.17.1FlowLayout11.17.2BorderLayout11.17.3GridLayout11.18UsingPanelstoManageMoreComplexLayouts11.19JTextArea11.20Wrap-UpChapter12GraphicsandJava2DTM12.1Introduction12.2GraphicsContextsandGraphicsObjects12.3ColorControl12.4FontControl..12.5DrawingLines,RectanglesandOvals12.6DrawingArcs12.7DrawingPolygonsandPolylines12.8Java2DAPI12.9Wrap-UpChapter13ExceptionHandling13.1Introduction13.2Exception-HandlingOverview13.3Example:DivideByZeroWithoutExceptionHandling13.4Example:HandlingArithmeticExceptionsandInputMismatchExceptions13.5WhentoUseExceptionHandling13.6JavaExceptionHierarchy13.7finallyblock13.8StackUnwinding13.9printStackTrace,getStackTraceandgetMessage13.10ChainedExceptions13.11DeclaringNewExceptionTypes13.12PreconditionsandPostconditions13.13Assertions13.14Wrap-UpChapter14FilesandStreams14.1Introduction14.2DataHierarchy14.3FilesandStreams14.4ClassFile14.5Sequential-AccessTextFiles14.5.1CreatingaSequential-AccessTextFile14.5.2ReadingDatafromaSequential-AccessTextFile14.5.3CaseStudy:ACredit-InquiryProgram14.5.4UpdatingSequential-AccessFiles14.6ObjectSerialization14.6.1CreatingaSequential-AccessFileUsingObjectSerialization14.6.2ReadingandDeserializingDatafromaSequential-AccessFile14.7Random-AccessFiles14.7.1CreatingaRandom-AccessFile14.7.2WritingDataRandomlytoaRandom-AccessFile14.7.3ReadingDataSequentiallyfromaRandom-AccessFile14.7.4CaseStudy:ATransaction-ProcessingProgram14.8Additionaljava.ioClasses14.9OpeningFileswithJFileChooser14.10Wrap-UpChapter15Recursion15.1Introduction15.2RecursionConcepts15.3ExampleUsingRecursion:Factorials15.4ExampleUsingRecursion:FibonacciSeries15.5RecursionandtheMethodCallStack15.6RecursionvsIteration15.7StringPermutations15.8TowersofHanoi15.9Fractals15.10RecursiveBacktracking15.11Wrap-Up15.12InternetandWebResourcesChapter16SearchingandSorting16.1Introduction16.2SearchingAlgorithms16.2.1LinearSearch16.2.2BinarySearch16.3SortingAlgorithms16.3.1SelectionSort16.3.2InsertionSort16.3.3MergeSort16.4Invariants16.5Wrap-upChapter17DataStructures17.1Introduction17.2Type-WrapperClassesforPrimitiveTypes17.3AutoboxingandAuto-Unboxing17.4Self-ReferentialClasses17.5DynamicMemoryAllocation17.6LinkedLists17.7Stacks17.8Queues17.9Trees17.10Wrap-UpChapter18Generics18.1Introduction18.2MotivationforGenericMethods18.3GenericMethods:ImplementationandCompile-TimeTranslation18.4AdditionalCompile-TimeTranslationIssues:MethodsThatUseaTypeParameterastheReturnType18.5OverloadingGenericMethods18.6GenericClasses18.7RawTypes18.8WildcardsinMethodsThatAcceptTypeParameters18.9GenericsandInheritance:Notes18.10Wrap-Up18.11InternetandWebResourcesChapter19Collections19.1Introduction19.2CollectionsOverview19.3ClassArrays19.4InterfaceCollectionandClassCollections19.5Lists19.5.1ArrayListandIterator19.5.2LinkedList19.5.3Vector19.6CollectionsAlgorithms19.6.1Algorithmsort19.6.2Algorithmshuffle19.6.3Algorithmsreverse,fill,copy,maxandmin19.6.4AlgorithmbinarySearch19.6.5AlgorithmsaddAll,frequencyanddisjoint19.7StackClassofPackagejava.util19.8ClassPriorityQueueandInterfaceQueue19.9Sets19.10Maps19.11PropertiesClass19.12SynchronizedCollections19.13UnmodifiableCollections19.14AbstractImplementations19.15Wrap-UpChapter20IntroductiontoJavaApplets20.1Introduction20.2SampleAppletsProvidedwiththeJDK20.3SimpleJavaApplet:DrawingaString20.3.1ExecutinganAppletintheappletviewer20.3.2ExecutinganAppletinaWebBrowser20.4AppletLife-CycleMethods20.5InitializinganInstanceVariablewithMethodinit20.6SandboxSecurityModel20.7IntemetandWebResources20.8Wrap-UpChapter21Multimedia:AppletsandApplications21.1Introduction21.2Loading,DisplayingandScalingImages21.3AnimatingaSeriesofImages21.4ImageMaps21.5LoadingandPlayingAudioClips21.6PlayingVideoandOtherMediawithJavaMediaFramework21.7Wrap-Up21.8IntemetandWebResourcesChapter22GUIComponents:Part222.1Introduction22.2JSlider22.3Windows:AdditionalNotes22.4UsingMenuswithFrames22.5JPopupMenu22.6PluggableLook-and-Feel22.7JDesktepPaneandJInternalFrame22.8JTabbedPane22.9LayoutManagers:BoxLayoutandGridBagLayout22.10Wrap-UpChapter23Multithreading23.1Introduction23.2ThreadStates:LifeCycleofaThread23.3ThreadPrioritiesandThreadScheduling23.4CreatingandExecutingThreads23.5ThreadSynchronization23.6Producer/ConsumerRelationshipwithoutSynchronization23.7Producer/ConsumerRelationshipwithSynchronization23.8Producer/ConsumerRelationship:CircularBuffer23.9Producer/ConsumerRelationship:ArrayBlockingQueue23.10MultithreadingwithGUI23.11OtherClassesandInterfacesinjava.util.concurrent23.12MonitorsandMonitorLocks23.13Wrap-UpChapter24Networking24.1Introduction24.2ManipulatingURLs24.3ReadingaFileonaWebServer24.4EstablishingaSimpleServerUsingStreamSockets24.5EstablishingaSimpleClientUsingStreamSockets24.6Client/ServerInteractionwithStreamSocketConnections24.7ConnectionlessClient/ServerInteractionwithDatagrams24.8Client/ServerTic-Tac-ToeUsingaMultithreadedServer24.9SecurityandtheNetwork24.10CaseStudy:DeitelMessengerServerandClient24.10.1DeitelMessengerServerandSupportingClasses24.10.2DeitelMessengerClientandSupportingClasses24.11Wrap-UpChapter25AccessingDatabaseswithJDBC25.1Introduction25.2RelationalDatabases25.3RelationalDatabaseOverview:ThebooksDatabase25.4SQL25.4.1BasicSELECTQuery25.4.2WHEREClause25.4.3ORDERBYClause25.4.4MergingDatafromMultipleTables:INNERJOIN25.4.5INSERTStatement25.4.6UPDATEStatement25.4.7DELETEStatement25.5InstructionstoinstallMySQLandMySQLConnector/J25.6InstructionsonSettingMySQLUserAccount25.7CreatingDatabasebooksinMySQL25.8ManipulatingDatabaseswithJDBC25.8.1ConnectingtoandQueryingaDatabase25.8.2QueryingthebooksDatabase25.9StoredProcedures25.10RowSetInterface25.11Wrap-Up25.12IntemetandWebResourcesChapter26Servlets26.1Introduction26.2ServletOverviewandArchitecture26.2.1InterfaceServletandtheServletLifeCycle26.2.2HttpServletClass26.2.3HttpServletRequestInterface26.2.4HttpServletResponseInterface26.3SettingUptheApacheTomcatServer26.4HandlingHTTPgetRequests26.4.1DeployingaWebApplication26.5HandlingHTTPgetRequestsContainingData26.6HandlingHTTPpostRequests26.7RedirectingRequeststoOtherResources26.8MultitierApplications:UsingJDBCfromaServlet26.9WelcomeFiles26.10Wrap-Up26.11IntemetandWebResourcesChapter27JavaServerPages(JSP)27.1Introduction27.2JavaServerPagesOverview27.3FirstJSPExample27.4ImplicitObjects27.5Scripting27.5.1ScriptingComponents27.5.2ScriptingExample27.6StandardActions27.6.1(jsp:include)Action27.6.2(jsp:forward)Action27.6.3(jsp:useBean)Action27.7Directives27.7.1pageDirective27.7.2includeDirective27.8CaseStudy:GuestBook27.9Wrap-Up27.10IntemetandWebResourcesChapter28FormattedOutput28.1Introduction28.2Streams28.3FormattingOutputwithprintf28.4PrintingIntegers28.5PrintingFloating-PointNumbers28.6PrintingStringsandCharacters28.7PrintingDatesandTimes28.8OtherConversionCharacters28.9PrintingwithFieldWidthsandPrecisions28.10UsingFlagsintheprintfFormatString28.11PrintingwithArgumentIndices28.12PrintingLiteralsandEscapeSequences28.13FormattingOutputwithClassFormatter28.14Wrap-UpChapter29Strings,CharactersandRegularExpressions29.1Introduction29.2FundamentalsofCharactersandStrings29.3ClassString29.3.1StringConstructors29.3.2StringMethodslength,charAtandgetChars29.3.3ComparingStrings29.3.4LocatingCharactersandSubstringsinStrings29.3.5ExtractingSubstringsfromStrings29.3.6ConcatenatingStrings29.3.7MiscellaneousStringMethods29.3.8StringMethodvalueOf29.4ClassStringBuffer29.4.1StringBufferConstructors29.4.2StringBufferMethodslength,capacity,setLengthandensureCapacity29.4.3StringBufferMethodscharAt,setCharAt,getCharsandreverse29.4.4StringBufferappendMethods29.4.5StringBufferInsertionandDeletionMethods29.5ClassCharacter29.6ClassStringTokenizer29.7RegularExpressions,ClassPatternandClassMatcher29.8Wrap-UpAppendixAOperatorPrecedenceChartAppendixBASCIICharacterSetAppendixCKeywordsandReservedWordsAppendixDPrimitiveTypesAppendixE(OnCD)NumberSystemsAppendixF(OnCD)UnicodeAppendixGUsingtheJavaAPIDocumentationAppendixI-I(OnCD)CreatingDocumentationwith]&vadocAppendixI(OnCD)BitManipulationAppendixJ(OnCD)ATMCaseStudyCodeAppendixK(OnCD)LabeledbreakandcontinueStatementsAppendixL(OnCD)UML2:AdditionalDiagramTypesAppendixM(OnCD)DesignPatternsAppendixN(OnCD)UsingtheDebuggerIndex
猜您喜欢