售价: ¥1,036.00
免运费且可货到付款 详情
前翻 后翻
正在播放... 已暂停   您正在聆听的 Audible 音频版本的样品。
了解更多信息
查看全部 4 张图片

Java How to Program (early objects) (9th Edition) (英语) 平装 – 2011年3月7日

平均3.9 星
5 星
81
4 星
40
3 星
15
2 星
10
1 星
22
平均3.9 星 168条亚马逊美国的评论 us-flag |
| 天天低价·正品质优
|
分享
| 自营
广告

显示所有 格式和版本 隐藏其他格式和版本
亚马逊价格
全新品最低价 非全新品最低价
平装
"请重试"
¥1,036.00
¥1,036.00
促销信息: 满减 满99减20限兴业信用卡 共1个促销

 
退换承诺: 此商品支持30天免费退换 详情

此商品有一个较新的版本:

Java How To Program (Early Objects) (10th Edition)
¥1,780.00
通常需要2-3周发货。

click to open popover

商品促销和特殊优惠
  • 满99减20限兴业信用卡:
    已领优惠码

无需Kindle设备,下载免费Kindle阅读软件,即可在您的手机、电脑及平板电脑上畅享阅读。

  • iPhone/iPad/Mac
  • Android手机或平板电脑

请输入您的手机号码,获取Kindle阅读软件的下载链接。



基本信息

  • 出版社: Prentice Hall; 9 (2011年3月7日)
  • 丛书名: Deitel
  • 平装: 1536页
  • 语种: 英语
  • ISBN: 0132575663
  • 条形码: 9780132575669
  • 商品尺寸: 17.8 x 6.4 x 22.9 cm
  • 商品重量: 1.9 Kg
  • ASIN: 0132575663
  • 用户评分: 分享我的评价
  • 亚马逊热销商品排名: 图书商品里排第1,591,308名 (查看图书商品销售排行榜)
  •  您想告诉我们您发现了更低的价格?

商品描述

作者简介

Paul J. Deitel, CEO and Chief Technical Officer of Deitel & Associates, Inc., is a graduate of MIT’s Sloan School of Management, where he studied Information Technology. He holds the Java Certified Programmer and Java Certified Developer certifications, and has been designated by Sun Microsystems as a Java Champion. Through Deitel & Associates, Inc., he has delivered Java, C, C++, C# and Visual Basic courses to industry clients, including IBM, Sun Microsystems, Dell, Lucent Technologies, Fidelity, NASA at the Kennedy Space Center, the National Severe Storm Laboratory, White Sands Missile Range, Rogue Wave Software, Boeing, Stratus, Cambridge Technology Partners, Open Environment Corporation, One Wave, Hyperion Software, Adra Systems, Entergy, CableData Systems, Nortel Networks, Puma, iRobot, Invensys and many more. He has also lectured on Java and C++ for the Boston Chapter of the Association for Computing Machinery. He and his father, Dr. Harvey M. Deitel, are the world’s best-selling programming language textbook authors.


Dr. Harvey M. Deitel, Chairman and Chief Strategy Officer of Deitel & Associates, Inc., has 45 years of academic and industry experience in the computer field. Dr. Deitel earned B.S. and M.S. degrees from MIT and a Ph.D. from Boston University. He has 20 years of college teaching experience, including earning tenure and serving as the Chairman of the Computer Science Department at Boston College before founding Deitel & Associates, Inc., with his son, Paul J. Deitel. He and Paul are the co-authors of several dozen books and multimedia packages and they are writing many more. With translations published in Japanese, German, Russian, Spanish, Traditional Chinese, Simplified Chinese, Korean, French, Polish, Italian, Portuguese, Greek, Urdu and Turkish, the Deitels’ texts have earned international recognition. Dr. Deitel has delivered hundreds of professional seminars to major corporations, academic institutions, government organizations and the military.

目录


Preface xxiii
Before You Begin xxxiii
1 Introduction to Computers and Java 1
1.1 Introduction 2
1.2 Computers: Hardware and Software 5
1.3 Data Hierarchy 6
1.4 Computer Organization 8
1.5 Machine Languages, Assembly Languages and High-Level Languages 10
1.6 Introduction to Object Technology 11
1.7 Operating Systems 13
1.8 Programming Languages 16
1.9 Java and a Typical Java Development Environment 18
1.10 Test-Driving a Java Application 22
1.11 Web 2.0: Going Social 26
1.12 Software Technologies 29
1.13 Keeping Up-to-Date with Information Technologies 31
1.14 Wrap-Up 32

2 Introduction to Java Applications 37
2.1 Introduction 38
2.2 Your First Program in Java: Printing a Line of Text 38
2.3 Modifying Your First Java Program 44
2.4 Displaying Text with printf 46
2.5 Another Application: Adding Integers 47
2.6 Memory Concepts 52
2.7 Arithmetic 53
2.8 Decision Making: Equality and Relational Operators 56
2.9 Wrap-Up 60

3 Introduction to Classes, Objects, Methods and Strings 71
3.1 Introduction 72
3.2 Declaring a Class with a Method and Instantiating an Object of a Class 72
3.3 Declaring a Method with a Parameter 76
3.4 Instance Variables, set Methods and get Methods 79
3.5 Primitive Types vs. Reference Types 84
3.6 Initializing Objects with Constructors 85
3.7 Floating-Point Numbers and Type double 88
3.8 (Optional) GUI and Graphics Case Study: Using Dialog Boxes 92
3.9 Wrap-Up 95

4 Control Statements: Part 1 102
4.1 Introduction 103
4.2 Algorithms 103
4.3 Pseudocode 104
4.4 Control Structures 104
4.5 if Single-Selection Statement 107
4.6 if…else Double-Selection Statement 107
4.7 while Repetition Statement 112
4.8 Formulating Algorithms: Counter-Controlled Repetition 113
4.9 Formulating Algorithms: Sentinel-Controlled Repetition 118
4.10 Formulating Algorithms: Nested Control Statements 125
4.11 Compound Assignment Operators 130
4.12 Increment and Decrement Operators 130
4.13 Primitive Types 134
4.14 (Optional) GUI and Graphics Case Study: Creating Simple Drawings 134
4.15 Wrap-Up 138

5 Control Statements: Part 2 151
5.1 Introduction 152
5.2 Essentials of Counter-Controlled Repetition 152
5.3 for Repetition Statement 154
5.4 Examples Using the for Statement 158
5.5 do…while Repetition Statement 162
5.6 switch Multiple-Selection Statement 164
5.7 break and continue Statements 172
5.8 Logical Operators 173
5.9 Structured Programming Summary 179
5.10 (Optional) GUI and Graphics Case Study: Drawing Rectangles and Ovals 184
5.11 Wrap-Up 187

6 Methods: A Deeper Look 197
6.1 Introduction 198
6.2 Program Modules in Java 198
6.3 static Methods, static Fields and Class Math 200
6.4 Declaring Methods with Multiple Parameters 202
6.5 Notes on Declaring and Using Methods 205
6.6 Method-Call Stack and Activation Records 206
6.7 Argument Promotion and Casting 207
6.8 Java API Packages 208
6.9 Case Study: Random-Number Generation 210
6.9.1 Generalized Scaling and Shifting of Random Numbers 214
6.9.2 Random-Number Repeatability for Testing and Debugging 214
6.10 Case Study: A Game of Chance; Introducing Enumerations 215
6.11 Scope of Declarations 219
6.12 Method Overloading 222
6.13 (Optional) GUI and Graphics Case Study: Colors and Filled Shapes 224
6.14 Wrap-Up 227

7 Arrays and ArrayLists 240
7.1 Introduction 241
7.2 Arrays 242
7.3 Declaring and Creating Arrays 243
7.4 Examples Using Arrays 244
7.5 Case Study: Card Shuffling and Dealing Simulation 254
7.6 Enhanced for Statement 258
7.7 Passing Arrays to Methods 259
7.8 Case Study: Class GradeBook Using an Array to Store Grades 262
7.9 Multidimensional Arrays 268
7.10 Case Study: Class GradeBook Using a Two-Dimensional Array 271
7.11 Variable-Length Argument Lists 278
7.12 Using Command-Line Arguments 279
7.13 Class Arrays 281
7.14 Introduction to Collections and Class ArrayList 284
7.15 (Optional) GUI and Graphics Case Study: Drawing Arcs 286
7.16 Wrap-Up 289

8 Classes and Objects: A Deeper Look 311
8.1 Introduction 312
8.2 Time Class Case Study 312
8.3 Controlling Access to Members 316
8.4 Referring to the Current Object’s Members with the this Reference 317
8.5 Time Class Case Study: Overloaded Constructors 320
8.6 Default and No-Argument Constructors 326
8.7 Notes on Set and Get Methods 326
8.8 Composition 328
8.9 Enumerations 331
8.10 Garbage Collection and Method finalize 333
8.11 static Class Members 334
8.12 static Import 338
8.13 final Instance Variables 339
8.14 Time Class Case Study: Creating Packages 340
8.15 Package Access 345
8.16 (Optional) GUI and Graphics Case Study: Using Objects with Graphics 347
8.17 Wrap-Up 351

9 Object-Oriented Programming: Inheritance 359
9.1 Introduction 360
9.2 Superclasses and Subclasses 361
9.3 protected Members 363
9.4 Relationship between Superclasses and Subclasses 364
9.4.1 Creating and Using a CommissionEmployee Class 364
9.4.2 Creating and Using a BasePlusCommissionEmployee Class 370
9.4.3 Creating a CommissionEmployee—BasePlusCommissionEmployee Inheritance Hierarchy 375
9.4.4 CommissionEmployee—BasePlusCommissionEmployee Inheritance Hierarchy Using protected Instance Variables 377
9.4.5 CommissionEmployee—BasePlusCommissionEmployee Inheritance Hierarchy Using private Instance Variables 380
9.5 Constructors in Subclasses 385
9.6 Software Engineering with Inheritance 386
9.7 Class Object 387
9.8 (Optional) GUI and Graphics Case Study: Displaying Text and Images Using Labels 388
9.9 Wrap-Up 391

10 Object-Oriented Programming: Polymorphism 394
10.1 Introduction 395
10.2 Polymorphism Examples 397
10.3 Demonstrating Polymorphic Behavior 398
10.4 Abstract Classes and Methods 400
10.5 Case Study: Payroll System Using Polymorphism 403
10.5.1 Abstract Superclass Employee 404
10.5.2 Concrete Subclass SalariedEmployee 407
10.5.3 Concrete Subclass HourlyEmployee 408
10.5.4 Concrete Subclass CommissionEmployee 410
10.5.5 Indirect Concrete Subclass BasePlusCommissionEmployee 412
10.5.6 Polymorphic Processing, Operator instanceof and Downcasting 413
10.5.7 Summary of the Allowed Assignments Between Superclass and Subclass Variables 418
10.6 final Methods and Classes 418
10.7 Case Study: Creating and Using Interfaces 419
10.7.1 Developing a Payable Hierarchy 421
10.7.2 Interface Payable 422
10.7.3 Class Invoice 422
10.7.4 Modifying Class Employee to Implement Interface Payable 425
10.7.5 Modifying Class SalariedEmployee for Use in the Payable Hierarchy 427
10.7.6 Using Interface Payable to Process Invoices and Employees Polymorphically 428
10.7.7 Common Interfaces of the Java API 430
10.8 (Optional) GUI and Graphics Case Study: Drawing with Polymorphism 431
10.9 Wrap-Up 433

11 Exception Handling: A Deeper Look 438
11.1 Introduction 439
11.2 Example: Divide by Zero without Exception Handling 439
11.3 Example: Handling ArithmeticExceptions and InputMismatchExceptions 442
11.4 When to Use Exception Handling 447
11.5 Java Exception Hierarchy 447
11.6 finally Block 450
11.7 Stack Unwinding and Obtaining Information from an Exception Object 454
11.8 Chained Exceptions 457
11.9 Declaring New Exception Types 459
11.10 Preconditions and Postconditions 460
11.11 Assertions 461
11.12 (New in Java SE 7) Multi-catch: Handling Multiple Exceptions in One catch 462
11.13 (New in Java SE 7) try-with-Resources: Automatic Resource Deallocation 463
11.14 Wrap-Up 463

12 ATM Case Study, Part 1: Object-Oriented Design with the UML 469
12.1 Case Study Introduction 470
12.2 Examining the Requirements Document 470
12.3 Identifying the Classes in a Requirements Document 478
12.4 Identifying Class Attributes 484
12.5 Identifying Objects’ States and Activities 489
12.6 Identifying Class Operations 493
12.7 Indicating Collaboration Among Objects 499
12.8 Wrap-Up 506

13 ATM Case Study Part 2: Implementing an Object-Oriented Design 510
13.1 Introduction 511
13.2 Starting to Program the Classes of the ATM System 511
13.3 Incorporating Inheritance and Polymorphism into the ATM System 516
13.4 ATM Case Study Implementation 522
13.4.1 Class ATM 523
13.4.2 Class Screen 528
13.4.3 Class Keypad 529
13.4.4 Class CashDispenser 530
13.4.5 Class DepositSlot 531
13.4.6 Class Account 532
13.4.7 Class BankDatabase 534
13.4.8 Class Transaction 537
13.4.9 Class BalanceInquiry 53...

商品评论

在亚马逊中国上尚未有买家评论。
5 星
4 星
3 星
2 星
1 星

此商品在美国亚马逊上最有用的商品评论 (beta)

美国亚马逊: 平均3.9 星 168 条评论
55/56 人认为此评论有用
平均4.0 星 Still great but a quarter of the chapters require an access code! 2014年7月24日
评论者 D Wilson - 已在美国亚马逊上发表
版本: 平装
I have been using the various editions of this book to teach Java programming for a number of years. In terms of content the previous editions of this book have been very solid and I would them a 5 star rating. Although this 10th edition continues the tradition of solid content, I cannot rate it above 4 stars because eight chapters (that used to be part of the printed book in the previous edition) are now only accessible online. This is both inconvenient and expensive.

The online material requires an access code that is valid for only a year. This code comes as part of a new copy of the book. If you buy a used copy(for which the code has already been used), or if your code expires you will need to buy another one year code to access those eight chapters.
3/3 人认为此评论有用
平均4.0 星 Very good Book on Java 2014年3月14日
评论者 Marquis B - 已在美国亚马逊上发表
版本: 平装 已确认购买
This book on Java is definitely a must read. I had to get this book for my Object Oriented Class a few semesters ago and I am still into it. There are many things this book goes over. Please understand, this book goes over the general basics in each section.

The most intriguing part about the book was the Data Structures portion in the back. It is definitely one of the most important parts of programming when speaking of efficiency. I had no idea of Data Structures before this book. It was a good intro to certain topics on performance. I ended up getting another book specifically for Data Structures and the basics learned from Java How To Program helps you tremendously when stepping into more advanced books.

This book gives the reader a general over view of the hosted topics. You will definitely come away a better programmer who thinks more theoretical than hands on. (Which is definitely a good thing). The book emphasizes, like any computer science or software engineer major should, the quality in design before code.

The one draw back from this book, that others actually may like, is the amount of code that is in here. For an intro to most of these topics I felt some of the code was drawn out. I like snippets. So this is definitely a personal preference.

I recommend this book to all levels of developers. There are definitely topics that are covered that even some advanced sw developers skim, skip over, or just never learn in their careers. For beginners, having access to Oracles site is also a huge help when going through this book. (Really that is standard for any book based on Java).

You will not regret getting this book. The Deitel brothers are pretty good at what they do, to say the least.
4/4 人认为此评论有用
平均5.0 星 A Beginner's Must-Read!!! 2012年5月24日
评论者 Ejike Nwude - 已在美国亚马逊上发表
版本: 平装 已确认购买
This is a very comprehensive book. It's size may be quite intimidating but once you start reading, it won't seem so anymore. The text explains programming in such an easy way that anyone can learn Java. It also has some very good exercises and a lot of online resources. This particular edition doesn't come with a CD though like the other editions but all the contents of the CD are online as part of the resources the book comes with. This is a much better approach as I always seem to break or scratch my CDs anyway. The authors are very accessible too; just send them an email and they reply promptly. I will highly recommend this book to anyone who really wants to learn Java with ease.
2/2 人认为此评论有用
平均4.0 星 Same as 9 less in text....very little updated. 2015年9月24日
评论者 kyle - 已在美国亚马逊上发表
版本: 平装 已确认购买
Same as version 9 but less inside which means you get less for what you pay. Great book to learn Java. Very little is updated from previous version 9ed. But detiel is a good company for learning langs. I have also bought visual basic, and c sharp from them.
1/1 人认为此评论有用
平均4.0 星 The only college textbook that I didn't sell back to Amazon! 2012年8月1日
评论者 razielxx - 已在美国亚马逊上发表
版本: 平装 已确认购买
I am a Computer Science major and decided to take Java programming language as an elective to enhance my skill set.
I usually do not like the text books that are required for class, especially for programming. This book is the exception.
It has many many many examples and walks you through what each line of code does. I learned more from this book than I
did from the class it was for, and that's saying a lot because I learned a lot in the class. This is the very first
textbook that I will keep(there have been many books that were sold back to Amazon, I am finishing my Junior year this
next semester) and actually use!