The Java Tutorial: A Short Course on the Basics, 3/e (Paperback)
暫譯: Java 教程:基礎短課程,第 3 版 (平裝本)
Mary Campione, Kathy Walrath, Alison Huml
- 出版商: Addison Wesley
- 出版日期: 2001-01-07
- 定價: $1,200
- 售價: 5.0 折 $600
- 語言: 英文
- 頁數: 592
- 裝訂: Paperback
- ISBN: 0201703939
- ISBN-13: 9780201703931
-
相關分類:
Java 程式語言
立即出貨(限量)
買這商品的人也買了...
-
$1,029Fundamentals of Data Structures in C++
-
$680$537 -
$2,640$2,508 -
$980$774 -
$970Introduction to Algorithms, 2/e
-
$1,150$1,127 -
$600$510 -
$1,274Computer Architecture: A Quantitative Approach, 3/e(精裝本)
-
$1,029Operating System Concepts, 6/e (Windows XP Update)
-
$860$568 -
$2,370$2,252 -
$1,880$1,786 -
$690$587 -
$780$741 -
$590$466 -
$690$538 -
$720$569 -
$880$792 -
$1,290$1,226 -
$750$638 -
$560$476 -
$400$340 -
$480$379 -
$750$593 -
$1,176Computer Organization and Design: The Hardware/Software Interface, 3/e(IE) (美國版ISBN:1558606041)
相關主題
商品描述
Description
The new edition of this popular book is updated to reflect v1.3 of the Java 2 Platform, Standard Edition as well as preceding versions as early as JDK 1.1, and includes Solaris, Linux and Win32. This new version is also streamlined—to cover the topics most needed—and includes questions and exercises at the end of each chapter (with answers on the CD). The authors' top-notch instruction is still present. Through a task-oriented, example-driven approach, the authors introduce students to fundamental concepts and applications. The book's unique, theme-based structure allows the flexibility to customize your own path through the specific information. To help beginners avoid many common mistakes, an entire chapter is devoted to programming problems and their solutions. The CD-ROM comes packed full of useful resources: a complete online tutorial of this book and the 2 other tutorial books, all major versions of the Java platform, versions 1.0.2 through 1.3 for the Solaris and Win32 platforms. The CD also includes the latest Java platform for Linux (Standard Edition v1.3) API documentation for the Java platform and source code for all examples.
Java--Intermediate Programming, Java--Intro to Programming/CSI.
Table Of Contents
Preface.1. Getting Started.
How Will Java Technology Change My Life?
First Steps (Win32).
A Checklist.
Creating Your First Application.
Creating Your First Applet.
Error Explanations (Win32).
First Steps (UNIX/Linux).
A Checklist.
Creating Your First Application.
Creating Your First Applet.
Error Explanations (UNIX/Linux).
First Steps (MacOS).
A Checklist.
Creating Your First Application.
Creating Your First Applet.
Error Explanation (MacOS).
A Closer Look at HelloWorld.
Explanation of an Application.
The Anatomy of an Applet.
Code Samples.
2. Object-Oriented Programming Concepts.
What Is a Message?
What Is a Class?
What Is Inheritance?
What Is an Interface?
How Do These Concepts Translate into Code?
Summary.
Code Samples.
3. Language Basics.
Operators.
Expressions, Statements, and Blocks.
Control Flow Statements.
Code Samples.
4. Object Basics and Simple Data Objects.
Characters and Strings.
Numbers.
Arrays.
Code Samples.
5. Classes and Inheritance.
Managing Inheritance.
Implementing Nested Classes.
Code Samples.
6. Interfaces and Packages.
Creating and Using Packages.
Code Samples.
7. Handling Errors Using Exceptions.
The Catch or Specify Requirement.
Catching and Handling Exceptions.
Specifying the Exceptions Thrown by a Method.
How to Throw Exceptions.
Runtime Exceptions - The Controversy.
Advantages of Exceptions.
Summary of Exceptions.
Questions and Exercises.
Code Samples.
8. Threads: Doing Two or More Tasks at Once.
Using the Timer and TimerTask Classes.
Customizing a Thread's run Method.
The Life Cycle of a Thread.
Understanding Thread Priority.
Synchronizing Threads.
Grouping Threads.
Summary of Threads.
Questions and Exercises: Threads.
Code Samples.
9. I/O: Reading and Writing.
Using the Streams.
Object Serialization.
Working with Random Access Files.
And the Rest. . . .
Summary of Reading and Writing.
Questions and Exercises: Reading and Writing.
Code Samples.
10. User Interfaces that Swing.
Your First Swing Program.
Example Two: SwingApplication.
Example Three: CelsiusConverter.
Example Four: TravelWeather.
Example Five: Dialog Example.
Extras.
Look & Feel.
Layout Management.
Threads and Swing.
Supporting Assistive Technologies.
Visual Index to Swing Components.
Summary.
Questions and Exercises.
11. Applets for the Internet and Intranet.
AWT Components.
Taking Advantage of the Applet API.
Practical Considerations of Writing Applets.
Finishing an Applet.
For More Information.
Questions and Exercises.
Appendix A. Common Problems and Their Solutions.
General Programming Problems.
Applet Problems.
User Interface Problems.
Appendix B. Collections.
Interfaces.
Implementations.
Algorithms.
Custom Implementations.
Interoperability.
Appendix C. Deprecated Thread Methods.
Why Are Thread.suspend and Thread.resume Deprecated?
What about Thread.destroy?
Why Is Runtime.runFinalizersOnExit Deprecated?
Appendix D. Reference.
Operator Precedence.
The APPLET Tag.
POSIX Conventions for Command-Line Arguments.
Integrated Development Environments.
Classpath Help.
Index. 0201703939T04062001
商品描述(中文翻譯)
描述
這本受歡迎書籍的新版本已更新,以反映 Java 2 平台標準版 v1.3 及早期版本(如 JDK 1.1),並包括 Solaris、Linux 和 Win32。這個新版本也經過簡化,涵蓋最需要的主題,並在每章結尾包含問題和練習(答案在 CD 上)。作者的高水準教學依然存在。透過以任務為導向、以範例為驅動的方法,作者向學生介紹基本概念和應用。這本書獨特的主題式結構允許靈活地自訂特定資訊的學習路徑。為了幫助初學者避免許多常見錯誤,專門有一章 devoted於程式設計問題及其解決方案。CD-ROM 裝載了豐富的資源:這本書的完整線上教程以及另外兩本教程書籍,所有主要版本的 Java 平台,版本 1.0.2 到 1.3 的 Solaris 和 Win32 平台。該 CD 還包括最新的 Linux Java 平台(標準版 v1.3)API 文檔和所有範例的源代碼。
適合的課程
Java--中級程式設計,Java--程式設計入門/CSI。
目錄
前言。
1. 開始使用。
有關 Java 技術。
Java 技術將如何改變我的生活?
第一步(Win32)。
檢查清單。
創建您的第一個應用程式。
創建您的第一個 Applet。
錯誤解釋(Win32)。
第一步(UNIX/Linux)。
檢查清單。
創建您的第一個應用程式。
創建您的第一個 Applet。
錯誤解釋(UNIX/Linux)。
第一步(MacOS)。
檢查清單。
創建您的第一個應用程式。
創建您的第一個 Applet。
錯誤解釋(MacOS)。
更深入了解 HelloWorld。
應用程式的解釋。
Applet 的結構。
代碼範例。
2. 物件導向程式設計概念。
什麼是物件?
什麼是訊息?
什麼是類別?
什麼是繼承?
什麼是介面?
這些概念如何轉換為代碼?
總結。
代碼範例。
3. 語言基礎。
變數。
運算子。
表達式、語句和區塊。
控制流語句。
代碼範例。
4. 物件基礎和簡單數據物件。
物件的生命週期。
字元和字串。
數字。
陣列。
代碼範例。
5. 類別和繼承。
創建類別。
管理繼承。
實現嵌套類別。
代碼範例。
6. 介面和包。
創建和使用介面。
創建和使用包。
代碼範例。
7. 使用例外處理錯誤。
什麼是例外。
捕獲或指定要求。
捕獲和處理例外。
指定方法拋出的例外。
如何拋出例外。
運行時例外 - 爭議。
例外的優點。
例外的總結。
問題和練習。
代碼範例。
8. 執行緒:同時執行兩個或更多任務。
什麼是執行緒?
使用 Timer 和 TimerTask 類。
自訂執行緒的 run 方法。
執行緒的生命週期。
理解執行緒優先級。
同步執行緒。
分組執行緒。
執行緒的總結。
問題和練習:執行緒。
代碼範例。
9. I/O:讀取和寫入。
I/O 流概述。
使用流。
物件序列化。
處理隨機存取檔案。
以及其他。
讀取和寫入的總結。
問題和練習:讀取和寫入。
代碼範例。
10. Swing 的使用者介面。
Swing 概述。
您的第一個 Swing 程式。
範例二:SwingApplication。
範例三:CelsiusConverter。
範例四:TravelWeather。
範例五:對話框範例。
附加內容。
外觀與感覺。
佈局管理。
執行緒和 Swing。
支援輔助技術。
Swing 元件的視覺索引。
總結。
問題和練習。
11. 用於 Internet 和 Intranet 的 Applets。
Applet 概述。
AWT 元件。
利用 Applet API。
撰寫 Applet 的實際考量。
完成一個 Applet。
更多資訊。
問題和練習。
附錄 A. 常見問題及其解決方案。
開始使用問題。
一般程式設計問題。
Applet 問題。
使用者介面問題。
附錄 B. 集合。
介紹。
介面。
實現。
演算法。
自訂實現。
互操作性。
附錄 C. 已棄用的執行緒方法。
為什麼 Thread.stop 被棄用?
為什麼 Thread.suspend 和 Thread.resume 被棄用?
那 Thread.destroy 呢?
為什麼 Runtime.runFinalizersOnExit 被棄用?
附錄 D. 參考。
Java 程式語言關鍵字。
運算子優先級。
APPLET 標籤。
命令行參數的 POSIX 約定。
整合開發環境。
Classpath 幫助。
索引。 0201703939T04062001