Sams Teach Yourself Java in 24 Hours (Covering Java 8), 7/e (Paperback)
暫譯: Sams 24 小時自學 Java(涵蓋 Java 8),第 7 版(平裝本)

Rogers Cadenhead

買這商品的人也買了...

相關主題

商品描述

Sams Teach Yourself Java in 24 Hours, Seventh Edition

Covers Java 8 and Android Development

In just 24 lessons of one hour or less, you can learn the fundamentals of Java programming.

In this book's straightforward, step-by-step approach, each lesson builds on everything that's come before, helping readers learn Java's core features and techniques from the ground up.

Friendly, accessible, and conversational, this book offers a practical grounding in the language, without ever becoming overwhelming or intimidating. Full-color figures and clear instructions visually show you how to program with Java.

Popular author Rogers Cadenhead helps you master the skills and technology you need to create desktop and web programs, web services, and even an Android app in Java.

Learn how to…

  • Set up your Java programming environment
  • Write your first working program in just minutes
  • Control program decisions and behavior
  • Store and work with information
  • Build straightforward user interfaces
  • Create interactive web programs
  • Use threading to build more responsive programs
  • Read and write files and XML data
  • Master best practices for object-oriented programming
  • Create flexible, interoperable web services with JAX-WS
  • Use Java to create an Android app
  • Expand your skills with closures, the powerful new capability introduced in Java 8

Contents at a Glance

PART I: Getting Started

1 Becoming a Programmer

2 Writing Your First Program

3 Vacationing in Java

4 Understanding How Java Programs Work

PART II: Learning the Basics of Programming

5 Storing and Changing Information in a Program

6 Using Strings to Communicate

7 Using Conditional Tests to Make Decisions

8 Repeating an Action with Loops

PART III: Working with Information in New Ways

9 Storing Information with Arrays

10 Creating Your First Object

11 Describing What Your Object Is Like

12 Making the Most of Existing Objects

PART IV: Programming a Graphical User Interface

13 Building a Simple User Interface

14 Laying Out a User Interface

15 Responding to User Input

16 Building a Complex User Interface

PART V: Moving into Advanced Topics

17 Storing Objects in Data Structures

18 Handling Errors in a Program

19 Creating a Threaded Program

20 Using Inner Classes and Closures

21 Reading and Writing Files

22 Creating Web Services with JAX-WS

23 Creating Java2D Graphics

24 Writing Android Apps

Appendixes

A Using the NetBeans Integrated Development Environment

B Where to Go from Here: Java Resources

C This Book’s Website

D Setting Up an Android Development Environment

商品描述(中文翻譯)

《Sams Teach Yourself Java in 24 Hours, Seventh Edition》

*涵蓋 Java 8 和 Android 開發*

在短短 24 課,每課一小時或更少的時間內,您可以學習 Java 程式設計的基本原理。

本書採用簡單明瞭的逐步教學方式,每一課都建立在之前的內容之上,幫助讀者從基礎開始學習 Java 的核心特性和技術。

本書友善、易讀且對話式的風格,提供了對這門語言的實用基礎,從不會讓人感到壓倒或畏懼。全彩插圖和清晰的指示視覺化地展示了如何使用 Java 進行程式設計。

受歡迎的作者 Rogers Cadenhead 幫助您掌握創建桌面和網頁程式、網頁服務,甚至使用 Java 創建 Android 應用所需的技能和技術。

學習如何…
- 設置您的 Java 程式設計環境
- 在幾分鐘內編寫您的第一個可運行程式
- 控制程式的決策和行為
- 儲存和處理資訊
- 建立簡單的使用者介面
- 創建互動式網頁程式
- 使用執行緒來構建更具響應性的程式
- 讀取和寫入檔案及 XML 數據
- 掌握物件導向程式設計的最佳實踐
- 使用 JAX-WS 創建靈活、可互操作的網頁服務
- 使用 Java 創建 Android 應用
- 擴展您的技能,學習 Java 8 中引入的強大新功能 closures

**內容概覽**

**第一部分:入門**

1. 成為程式設計師
2. 編寫您的第一個程式
3. 在 Java 中度假
4. 理解 Java 程式的運作方式

**第二部分:學習程式設計的基本知識**

5. 在程式中儲存和更改資訊
6. 使用字串進行溝通
7. 使用條件測試來做決策
8. 使用迴圈重複動作

**第三部分:以新方式處理資訊**

9. 使用陣列儲存資訊
10. 創建您的第一個物件
11. 描述您的物件的特性
12. 充分利用現有物件

**第四部分:程式設計圖形使用者介面**

13. 建立簡單的使用者介面
14. 佈局使用者介面
15. 回應使用者輸入
16. 建立複雜的使用者介面

**第五部分:進入進階主題**

17. 在資料結構中儲存物件
18. 處理程式中的錯誤
19. 創建多執行緒程式
20. 使用內部類別和 closures
21. 讀取和寫入檔案
22. 使用 JAX-WS 創建網頁服務
23. 創建 Java2D 圖形
24. 編寫 Android 應用

**附錄**

A. 使用 NetBeans 整合開發環境
B. 接下來該去哪裡:Java 資源
C. 本書的網站
D. 設置 Android 開發環境