Java语言导学 英文版 第3版PDF电子书下载
- 电子书积分:17 积分如何计算积分?
- 作 者:(美)Mary Campione,Kathy Walrath,Alison Huml著
- 出 版 社:北京:机械工业出版社
- 出版年份:2004
- ISBN:7111142292
- 页数:569 页
CHAPTER 1 Getting Started 1
About the Java Technology 2
How Will Java Technology Change My Life? 7
First Steps(Win32) 8
First Steps(UNIX/Linux) 16
First Steps(MacOS) 24
A Closer Look at HelloWorld 32
Questions and Exercises 41
Code Samples 43
CHAPTER 2 Object-Oriented Programming Concepts 45
What Is an Object? 46
What Is a Message? 48
What Is aClass? 49
What Is Inheritance? 52
What Is anInterface? 54
How Do These Concepts Translate into Code? 55
Summary 61
Questions and Exercises 62
Code Samples 63
CHAPTER 3 Language Basics 65
Variables 67
Operators 76
Expressions,Statements,and Blocks 94
Control Flow Statements 99
Code Samples 117
CHAPTER 4 Object Basics and Simple Data Objects 119
The Life Cycle ofan Object 120
Characters and Strings 132
Numbers 149
Arrays 165
Code Samples 174
CHAPTER 5 Classes and Inheritance 177
Creating Classes 178
Managing Inheritance 204
Implementing Nested Classes 218
Code Samples 224
CHAPTER 6 Interfaces and Packages 227
Creating and Using Interfaces 228
Creating and Using Packages 234
Code Samples 242
CHAPTER 7 Handling Errors Using Exceptions 243
What Is an Exception? 244
The Catch or Specify Requirement 245
Catching and Handling Exceptions 246
Specifying the Exceptions Thrown by a Method 255
How to Throw Exceptions 255
Runtime Exceptions—The Controversy 260
Advantages of Exceptions 260
Summary of Exceptions 265
Questions and Exercises 266
Code Samples 268
CHAPTER 8 Threads:Doing Two or More Tasks at Once 269
What Is a Thread? 271
Using the Timer and TimerTask Classes 273
Customizing a Thread's run Method 277
The Life Cycle ofa Thread 281
Understanding Thread Priority 286
Synchronizing Threads 291
Grouping Threads 301
Summary of Threads 307
Questions and Exercises 309
Code Samples 310
CHAPTER 9 I/O:Reading and Writing 313
Overview of I/O Streams 314
Using the Streams 318
Object Serialization 334
Working with Random Access Files 340
And the Rest... 345
Summary of Reading and Writing 346
Questions and Exercises 346
Code Samples 348
CHAPTER 10 User Interfaces That Swing 351
Overview of the Swing API 352
Your First Swing Program 353
Example Two:Swing Application 356
Example Three:Celsius Converter 361
Example Four:LunarPhases 364
Example Five:VoteDialog 368
Layout Management 375
Threads and Swing 378
Visual Index to Swing Components 381
Summary 387
Questions and Exercises 388
Code Samples 390
APPENDIX A Common Problems and Their Solutions 391
Getting Started Problems 391
General Programming Problems 396
Applet Problems 397
User Interface Problems 399
APPENDIX B Internet-Ready Applets 407
Overview of Applets 409
AWT Components 419
Taking Advantage of the Applet API 423
Practical Considerations of Writing Applets 442
Finishing an Applet 454
Swing-Based Applets 457
Code Samples 463
APPENDIX C Collections 467
Introduction 468
Interfaces 470
Implementations 508
Algorithms 515
Custom Implementations 520
Interoperability 523
APPENDIX D Deprecated Thread Methods 527
Why Is Th read.stop Deprecated? 527
Why Are Thread.suspend and Thread.resume Deprecated? 530
What about Thread.destroy? 533
Whv Is Runti me.runFi nalizersOnExit Deprecated? 534
APPENDIX E Reference 535
Java Programming Language Keywords 535
Operator Precedence 536
The <APPLET>Tag 537
POSIX Conventions for Command Line Arguments 539
Integrated Development Environments 540
Path Help 540
Index 545
- 《卓有成效的管理者 中英文双语版》(美)彼得·德鲁克许是祥译;那国毅审校 2019
- 《程序逻辑及C语言编程》卢卫中,杨丽芳主编 2019
- 《幼儿园课程资源丛书 幼儿园语言教育资源》周兢编 2015
- 《AutoCAD 2018自学视频教程 标准版 中文版》CAD/CAM/CAE技术联盟 2019
- 《跟孩子一起看图学英文》张紫颖著 2019
- 《高等学校“十三五”规划教材 C语言程序设计》翟玉峰责任编辑;(中国)李聪,曾志华,江伟 2019
- 《AutoCAD机械设计实例精解 2019中文版》北京兆迪科技有限公司编著 2019
- 《音乐语言的根基》张艺编著 2019
- 《认知语言学视野的抽象方位结构研究》曹爽著 2019
- 《激活语言思维》李蒨,王宏年,汤青编著 2017
- 《SQL与关系数据库理论》(美)戴特(C.J.Date) 2019
- 《魔法销售台词》(美)埃尔默·惠勒著 2019
- 《看漫画学钢琴 技巧 3》高宁译;(日)川崎美雪 2019
- 《优势谈判 15周年经典版》(美)罗杰·道森 2018
- 《社会学与人类生活 社会问题解析 第11版》(美)James M. Henslin(詹姆斯·M. 汉斯林) 2019
- 《海明威书信集:1917-1961 下》(美)海明威(Ernest Hemingway)著;潘小松译 2019
- 《迁徙 默温自选诗集 上》(美)W.S.默温著;伽禾译 2020
- 《上帝的孤独者 下 托马斯·沃尔夫短篇小说集》(美)托马斯·沃尔夫著;刘积源译 2017
- 《巴黎永远没个完》(美)海明威著 2017
- 《剑桥国际英语写作教程 段落写作》(美)吉尔·辛格尔顿(Jill Shingleton)编著 2019
- 《指向核心素养 北京十一学校名师教学设计 英语 七年级 上 配人教版》周志英总主编 2019
- 《北京生态环境保护》《北京环境保护丛书》编委会编著 2018
- 《高等教育双机械基础课程系列教材 高等学校教材 机械设计课程设计手册 第5版》吴宗泽,罗圣国,高志,李威 2018
- 《指向核心素养 北京十一学校名师教学设计 英语 九年级 上 配人教版》周志英总主编 2019
- 《高等院校旅游专业系列教材 旅游企业岗位培训系列教材 新编北京导游英语》杨昆,鄢莉,谭明华 2019
- 《中国十大出版家》王震,贺越明著 1991
- 《近代民营出版机构的英语函授教育 以“商务、中华、开明”函授学校为个案 1915年-1946年版》丁伟 2017
- 《新工业时代 世界级工业家张毓强和他的“新石头记”》秦朔 2019
- 《智能制造高技能人才培养规划丛书 ABB工业机器人虚拟仿真教程》(中国)工控帮教研组 2019
- 《AutoCAD机械设计实例精解 2019中文版》北京兆迪科技有限公司编著 2019