本书反映了Java技术的发展,针对Java2SDK 1.3平台进行了更新,同时也适用于以前的1.2和1.1版本。书中清晰地解释了对象、类以及数据结构等基本概念,介绍了面向对象编程、applet构造。用户界面设计、异常、I/O和线程等主题。为帮助初学者避免许多常见错误,附录A给出了编程问题及其解决方案。每章后面的"小结"是本版新增的。另外,还新增了"问题与练习"小节,有助于读者实践所学内容。
Mary Campione是Sun Microsystems公司的高级技术作家,自1995年开始从事关于Java平台的写作。除本书外,她还与人合著有《PostScript by Example》一书。 Kathy Walrath是Sun Microsystems公司Swing组的高级技术作家。在获得了加州大学伯克利分校的电子工程与计
Preface
CHAPTER 1 Getting Started
CHAPTER 2 Object-Oriented Programming Concepts
CHAPTER 3 Language Basics
CHAPTER 4 Object Basics and Simple Data Objects
CHAPTER 5 Classes and Inheritance
CHAPTER 6 Interfaces and Packages
CHAPTER 7 Handling Errors Using Exceptions
CHAPTER 8 Threads:Doing Two or More Tasks at Once
CHAPTER 9 I/O:Reading and Writing
CHAPTER 10 User Interfaces That Swing
APPENDIX A ommon Problems and Their Solutions
APPENDIX B Internet-Ready Applets
APPENDIX C ollectionsPreface
CHAPTER 1 Getting Started
CHAPTER 2 Object-Oriented Programming Concepts
CHAPTER 3 Language Basics
CHAPTER 4 Object Basics and Simple Data Objects
CHAPTER 5 Classes and Inheritance
CHAPTER 6 Interfaces and Packages
CHAPTER 7 Handling Errors Using Exceptions
CHAPTER 8 Threads:Doing Two or More Tasks at Once
CHAPTER 9 I/O:Reading and Writing
CHAPTER 10 User Interfaces That Swing
APPENDIX A ommon Problems and Their Solutions
APPENDIX B Internet-Ready Applets
APPENDIX C ollections
APPENDIX D Deprecated Thread Methods
APPENDIX E Reference