Java大学教程-(第九版)-(英文版)
Java大学教程-(第九版)-(英文版)作者:保罗.戴特尔 开 本:32开 书号ISBN:9787121317606 定价: 出版时间:2017-06-01 出版社:电子工业出版社 |
6.6 Method-Call Stack and Activation Records 172
6.7 Argument Promotion and Casting 172
6.8 Java API Packages 173
6.9 Case Study: Random-Number Generation 175
6.10 Case Study: A Game of Chance; Introducing Enumerations 179
6.11 Scope of Declarations 182
6.12 Method Overloading 184
6.13 (Optional) GUI and Graphics Case Study: Colors and Filled Shapes 186
6.14 Wrap-Up 188
Chapter 7 Arrays and ArrayLists 201
7.1 Introduction 202
7.2 Arrays 202
7.3 Declaring and Creating Arrays 203
7.4 Examples Using Arrays 204
7.5 Case Study: Card Shuffling and Dealing Simulation 212
7.6 Enhanced for Statement 215
7.7 Passing Arrays to Methods 216
7.8 Case Study: Class GradeBook Using an Array to Store Grades 219
7.9 Multidimensional Arrays 223
7.10 Case Study: Class GradeBook Using a Two-Dimensional Array 226
7.11 Variable-Length Argument Lists 230
7.12 Using Command-Line Arguments 232
7.13 Class Arrays 233
7.14 Introduction to Collections and Class ArrayList 235
7.15 (Optional) GUI and Graphics Case Study: Drawing Arcs 237
7.16 Wrap-Up 240
Chapter 8 Classes and Objects: A Deeper Look 259
8.1 Introduction 260
8.2 Time Class Case Study 260
8.3 Controlling Access to Members 263
8.4 Referring to the Current Object’s Members with the this Reference 264
8.5 Time Class Case Study: Overloaded Constructors 266
8.6 Default and No-Argument Constructors 270
8.7 Notes on Set and Get Methods 271
8.8 Composition 272
8.9 Enumerations 274
8.10 Garbage Collection and Method finalize 276
8.11 static Class Members 277
8.12 static Import 280
8.13 final Instance Variables 281
8.14 Time Class Case Study: Creating Packages 282
8.15 Package Access 286
8.16 (Optional) GUI and Graphics Case Study: Using Objects with Graphics 287
8.17 Wrap-Up 290
Chapter 9 Object-Oriented Programming: Inheritance 298
9.1 Introduction 298
9.2 Superclasses and Subclasses 299
9.3 protected Members 301
9.4 Relationship between Superclasses and Subclasses 302
9.5 Constructors in Subclasses 318
9.6 Software Engineering with Inheritance 319
9.7 Class Object 320
9.8 (Optional) GUI and Graphics Case Study: Displaying Text and Images Using Labels 320
9.9 Wrap-Up 322
Chapter 10 Object-Oriented Programming: Polymorphism 326
10.1 Introduction 327
10.2 Polymorphism Examples 328
10.3 Demonstrating Polymorphic Behavior 329
10.4 Abstract Classes and Methods 331
10.5 Case Study: Payroll System Using Polymorphism 333
10.6 final Methods and Classes 346
10.7 Case Study: Creating and Using Interfaces 346
10.8 (Optional) GUI and Graphics Case Study: Drawing with Polymorphism 356
10.9 Wrap-Up 357
Chapter 11 Exception Handling: A Deeper Look 362
11.1 Introduction 363
11.2 Example: Divide by Zero without Exception Handling 363
11.3 Example: Handling ArithmeticExceptions and InputMismatchExceptions 365
11.4 When to Use Exception Handling 369
11.5 Java Exception Hierarchy 369
11.6 finally Block 372
11.7 Stack Unwinding and Obtaining Information from an Exception Object 375
11.8 Chained Exceptions 378
11.9 Declaring New Exception Types 379
11.10 Preconditions and Postconditions 380
11.11 Assertions 381
11.12 (New in Java SE 7) Multi-catch: Handling Multiple Exceptions in One catch 382
11.13 (New in Java SE 7) try-with-Resources: Automatic Resource Deallocation 382
11.14 Wrap-Up 383
Chapter 12 ATM Case Study, Part 1: Object-Oriented Design with the UML 388
12.1 Case Study Introduction 388
12.2 Examining the Requirements Document 389
12.3 Identifying the Classes in a Requirements Document 395
12.4 Identifying Class Attributes 400
12.5 Identifying Objects’ States and Activities 404
12.6 Identifying Class Operations 407
12.7 Indicating Collaboration Among Objects 412
12.8 Wrap-Up 418
Chapter 13 ATM Case Study Part 2: Implementing an Object-Oriented Design 421
13.1 Introduction 422
13.2 Starting to Program the Classes of the ATM System 422
13.3 Incorporating Inheritance and Polymorphism into the ATM System 425
13.4 ATM Case Study Implementation 431
13.5 Wrap-Up 449
Chapter 14 GUI Components: Part 1 451
14.1 Introduction 452
14.2 Java’s New Nimbus Look-and-Feel 453
14.3 Simple GUI-Based Input/Output with JOptionPane 454
14.4 Overview of Swing Components 456
14.5 Displaying Text and Images in a Window 457
14.6 Text Fields and an Introduction to Event Handling with Nested Classes 461
14.7 Common GUI Event Types and Listener Interfaces 466
14.8 How Event Handling Works 467
14.9 JButton 468
教材 研究生/本科/专科教材 工学
在线阅读
- 最新内容
- 相关内容
- 网友推荐
- 图文推荐
上一篇:投资经济学-(第五版)
下一篇:语言大学教程-(第八版)
零零教育社区:论坛热帖子
[高考] 2022 西安电子科技大学《软件工程》大作业答案 (2022-04-25) |
[家长教育] 孩子为什么会和父母感情疏离? (2019-07-14) |
[教师分享] 给远方姐姐的一封信 (2018-11-07) |
[教师分享] 伸缩门 (2018-11-07) |
[教师分享] 回家乡 (2018-11-07) |
[教师分享] 是风味也是人间 (2018-11-07) |
[教师分享] 一句格言的启示 (2018-11-07) |
[教师分享] 无规矩不成方圆 (2018-11-07) |
[教师分享] 第十届全国教育名家论坛有感(二) (2018-11-07) |
[教师分享] 贪玩的小狗 (2018-11-07) |