图书介绍

Java面向对象程序设计 第2版 英文PDF|Epub|txt|kindle电子书版本网盘下载

Java面向对象程序设计 第2版 英文
  • C. Thomas Wu 著
  • 出版社: 北京:清华大学出版社
  • ISBN:7302042209
  • 出版时间:2001
  • 标注页数:871页
  • 文件大小:37MB
  • 文件页数:901页
  • 主题词:

PDF下载


点此进入-本书在线PDF格式电子书下载【推荐-云解压-方便快捷】直接下载PDF格式图书。移动端-PC端通用
种子下载[BT下载速度快]温馨提示:(请使用BT下载软件FDM进行下载)软件下载地址页直链下载[便捷但速度慢]  [在线试读本书]   [在线获取解压码]

下载说明

Java面向对象程序设计 第2版 英文PDF格式电子书版下载

下载的文件为RAR压缩包。需要使用解压软件进行解压得到PDF格式图书。

建议使用BT下载工具Free Download Manager进行下载,简称FDM(免费,没有广告,支持多平台)。本站资源全部打包为BT种子。所以需要使用专业的BT下载软件进行下载。如BitComet qBittorrent uTorrent等BT下载工具。迅雷目前由于本站不是热门资源。不推荐使用!后期资源热门了。安装了迅雷也可以迅雷进行下载!

(文件页数 要大于 标注页数,上中下等多册电子书除外)

注意:本站所有压缩包均有解压码: 点击下载压缩包解压工具

图书目录

0 Introduction to Computers and Programming Languages1

0.1 A History of Computers2

0.2 Computer Architecture5

0.3 Programming Languages11

0.4 Java13

0.5 Exercises14

1 Introduction to Object-Oriented Programming and Software Development15

1.1 Classes and Objects16

1.2 Messages and Methods18

1.3 Class and Instance Data Values23

1.4 Inheritance26

1.5 Software Engineering and Software Life Cycle29

1.6 Having Fun with Java31

1.7 Exercises34

2 Java Programming Basics37

2.1 The First Java Application38

2.2 Program Components48

2.3 Edit-Compile-Run Cycle59

2.4 The javabook Package61

2.5 Sample Program:Displaying Messages62

2.6 The First Java Applet66

2.7 Exercises77

3 Numerical Data83

3.1 Variables84

3.2 Arithmetic Expressions92

3.3 Constants98

3.4 The Math Class100

3.5 InputBox103

3.6 OutputBox106

3.7 Sample Program:Loan Calculator113

3.8 Numerical Representation(Optional)124

3.9 Exercises128

4 Defining Instantiable Classes139

4.1 Defining Instantiable Classes140

4.2 Instantiable Classes and Constructors152

4.3 Visibility Modifiers:public and private157

4.4 Local Variables,Return Values,and Parameter Passing162

4.5 Loan Calculator Program with an Instantiable Class167

4.6 Exercises181

5 Processing Input with Applets191

5.1 Placing GUI Objects on Applets192

5.2 Adding ActionListener to an Event Source199

5.3 Absolute Positioning of GUI Objects206

5.4 The Button Class208

5.5 Converting Text to a Numerical Value210

5.6 Sample Program:Finding Body Mass Index(BMI)213

5.7 Running an Applet as an Application223

5.8 Exercises224

6 Selection Statements229

6.1 The if Statement230

6.2 Boolean Expressions and Variables238

6.3 Nested-if Statements242

6.4 ListBox249

6.5 The switch Statement252

6.6 Sample Program:Drawing Shapes258

6.7 Exercises280

7 Repetition Statements289

7.1 The while Statement290

7.2 Pitfalls in Writing Repetition Statements294

7.3 The do-while Statement299

7.4 ResponseBox303

7.5 The for Statement308

7.6 Nested-for Statements312

7.7 The Format Class316

7.8 Loan Tables322

7.9 Sample Program:Hi-Lo Game325

7.10 Recursive Methods(Optional)338

7.11 Exercises343

8 Characters and Strings355

8.1 Characters356

8.2 Strings359

8.3 Primitive versus Reference Types370

8.4 StringBuffer379

8.5 Passing Objects as Parameters384

8.6 Returning an Object from Methods389

8.7 Sample Program:Word Play392

8.8 Exercises404

9 Arrays411

9.1 Array Basics412

9.2 Arrays of Objects421

9.3 Passing Arrays to Methods431

9.4 MultilnputBox436

9.5 Self-Referencing Pointer439

9.6 Sample Development:The Address Book446

9.7 Two-Dimensional Arrays463

9.8 Vectors470

9.9 Exercises476

10 Sorting and Searching481

10.1 Searching482

10.2 Sorting488

10.3 Heapsort495

10.4 Sample Program:Sorting an AddressBook509

10.5 Exercises515

11 File Input and Output519

11.1 File and FileDialog Objects520

11.2 Low-Level File I/O525

11.3 High-Level File I/O532

11.4 Handling Exceptions539

11.5 Object I/O544

11.6 Sample Class:Saving an AddressBook Object548

11.7 Exercises556

12 Reusable Classes and Packages559

12.1 Object Categories560

12.2 Method Overriding and Overloaded Methods562

12.3 Sample Classes:Reusable EggyPeggy and HiLo569

12.4 Package Organization595

12.5 Exercises597

13 GUI Objects and Event-Driven Programming603

13.1 Placing Buttons on a Frame605

13.2 Handling Events611

13.3 Placing TextField Objects on a Frame618

13.4 Menus620

13.5 Handling Mouse Events626

13.6 Other GUI Objects634

13.7 Sample Program:A Simple Calculator639

13.8 Exercises652

14 Inheritance and Polymorphism657

14.1 Defining Classes with Inheritance658

14.2 Using Classes Effectively with Polymorphism662

14.3 Inheritance and Member Accessibility666

14.4 Inheritance and Constructors672

14.5 Abstract Superclasses and Abstract Methods676

14.6 When and When Not to Use Inheritance682

14.7 Sample Program:Computing Course Grades684

14.8 Exercises704

15 Class Roster Maintenance Program709

15.1 Method Call Sequence Diagram710

15.2 Problem Statement711

15.3 Overall Planning712

15.4 Step 1 Development:Program Shell with Menus716

15.5 Step 2 Development:Create a New Roster722

15.6 Step 3 Development:Add Students729

15.7 Step 4 Development:Delete Students737

15.8 Step 5 Development:Edit Student Names740

15.9 Step 6 Development:Edit Test Scores and Compute Grades746

15.10 Step 7 Development:Display Student Information753

15.11 Step 8 Development:Storing Grade Rosters765

15.12 Step 9 Development:Finalize and Improve775

15.13 The StudentNameDialog Class776

15.14 The TestScoreDialog Class786

15.15 Exercises791

16 Recursive Algorithms797

16.1 Basic Elements of Recursion798

16.2 Directory Listing799

16.3 Anagram801

16.4 Towers of Hanoi805

16.5 Quicksort809

16.6 When Not to Use Recursion815

16.7 Exercises817

A The javabook Package819

热门推荐