Paul Deitel,Deitel & Associates有限公司的CEO兼CTO,毕业于麻省理工学院,主修信息技术。他获得了Java认证程序员和Java认证开发员称号,并且是一名Oracle Java冠军程序员。在Deitel & Associate有限公司工作的过程中,他已经为世界各地的客户提供了数百节编程课程,这些客户包括思科、IBM、西门子、Sun Microsystems、戴尔、Fidelity、肯尼迪航天中心、美国国家强风暴实验室、白沙导弹试验场、Rogue Wave Software、波音公司、SunGard Higher Education、北电网络公司、彪马、iRobot、Invensys等。他和本书的合著者Harvey M. Deitel博士是全球畅销编程语言教材、专业书籍和视频的作者。Harvey Deitel博士,Deitel & Associates有限公司的董事长和首席战略官,在计算机领域拥有50多年的经验。Deitel博士获得了麻省理工学院电子工程专业的学士和硕士学位,并获得了波士顿大学的数学博士学位。他拥有丰富的大学教学经验,在1991年与儿子Paul Deitel创办Deitel & Associates有限公司之前,他是波士顿大学计算机科学系的主任并获得了终身任职权。Deitel的出版物获得了国际上的认可,并被翻译为日语、德语、俄语、西班牙语、法语、波兰语、意大利语、简体中文、繁体中文、韩语、葡萄牙语、希腊语、乌尔都语和土耳其语出版。Deitel博士为很多大公司、学术研究机构、政府机关和军方提供了数百场专业编程讲座。
目錄:
目录推荐序前言阅读本书之前的准备1 Introduction to Java and Test-Driving a Java Application1.1 Introduction1.2 Object Technology Concepts1.2.1 The Automobile as an Object1.2.2 Methods and Classes1.2.3 Instantiation1.2.4 Reuse1.2.5 Messages and Method Calls1.2.6 Attributes and Instance Variables1.2.7 Encapsulation and Information Hiding1.2.8 Inheritance1.2.9 Interfaces1.2.10 Object-Oriented Analysis and Design OOAD1.2.11 The UML Unified Modeling Language1.3 Open Source Software1.4 Java1.5 A Typical Java Development Environment1.6 Test-Driving a Java Application1.7 Software Technologies1.8 Keeping Up-to-Date with Information Technologies2 Introduction to Java Applications; InputOutput and Operators2.1 Introduction2.2 Your First Program in Java: Printing a Line of Text2.3 Modifying Your First Java Program2.4 Displaying Text with printf2.5 Another Application: Adding Integers2.6 Arithmetic2.7 Decision Making: Equality and Relational Operators2.8 Wrap-Up3 Introduction to Classes, Objects, Methods and Strings3.1 Introduction3.2 Instance Variables, set Methods and get Methods3.2.1 Account Class with an Instance Variable, a set Method and a get Method3.2.2 AccountTest Class That Creates and Uses an Object of Class Account3.2.3 Compiling and Executing an App with Multiple Classes3.2.4 Account UML Class Diagram with an Instance Variable and set and get Methods3.2.5 Additional Notes on Class AccountTest3.2.6 Software Engineering with private Instance Variables and public set and get Methods3.3 Primitive Types vs. Reference Types3.4 Account Class: Initializing Objects with Constructors3.4.1 Declaring an Account Constructor for Custom Object Initialization3.4.2 Class AccountTest : Initializing Account Objects When They’re Created3.5 Account Class with a Balance; Floating-Point Numbers3.5.1 Account Class with a balance Instance Variable of Type double3.5.2 AccountTest Class to Use Class Account3.6 Wrap-Up4 Control Statements: Part 1; Assignment, ++ and -- Operators4.1 Introduction4.2 Control Structures4.3 if Single-Selection Statement4.4 if … else Double-Selection Statement4.5 Student Class: Nested if … else Statements4.6 while Repetition Statement4.7 Counter-Controlled Repetition4.8 Sentinel-Controlled Repetition4.9 Nested Control Statements4.10 Compound Assignment Operators4.11 Increment and Decrement Operators4.12 Primitive Types4.13 Wrap-Up5 Control Statements: Part 2; Logical Operators5.1 Introduction5.2 Essentials of Counter-Controlled Repetition5.3 for Repetition Statement5.4 Examples Using the for Statement5.5 do … while Repetition Statement5.6 switch Multiple-Selection Statement5.7 Class AutoPolicy Case Study: String s in switch Statements5.8 break and continue Statements5.9 Logical Operators5.10 Wrap-Up6 Methods: A Deeper Look6.1 Introduction6.2 Program Modules in Java6.3 static Methods, static Fields and Class Math6.4 Declaring Methods with Multiple Parameters6.5 Notes on Declaring and Using Methods6.6 Argument Promotion and Casting6.7 Java API Packages6.8 Case Study: Secure Random-Number Generation6.9 Case Study: A Game of Chance; Introducing enum Types6.10 Scope of Declarations6.11 Method Overloading6.12 Wrap-Up7 Arrays and ArrayLists7.1 Introduction7.2 Arrays7.3 Declaring and Creating Arrays7.4 Examples Using Arrays7.4.1 Creating and Initializing an Array7.4.2 Using an Array Initializer7.4.3 Calculating the Values to Store in an Array7.4.4 Summing the Elements of an Array7.4.5 Using Bar Charts to Display Array Data Graphically7.4.6 Using the Elements of an Array as Counters7.4.7 Using Arrays to Analyze Survey Results7.5 Exception Handling: Processing the Incorrect Response7.5.1 The try Statement7.5.2 Executing the catch Block7.5.3 toString Method of the Exception Parameter7.6 Case Study: Card Shuffling and Dealing Simulation7.7 Enhanced for Statement7.8 Passing Arrays to Methods7.9 Pass-By-Value vs. Pass-By-Reference7.10 Case Study: Class GradeBook Using an Array to Store Grades7.11 Multidimensional Arrays7.12 Case Study: Cl