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

Rogers Cadenhead

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

相關主題

商品描述

Computer programming with Java is easier than it looks. In just 24 lessons of one hour or less, you can learn to write computer programs in Java.

 

Using a straightforward, step-by-step approach, popular author Rogers Cadenhead helps you master the skills and technology you need to create desktop and web programs, web services, an Android app, and even Minecraft mods in Java.

 

Each lesson builds on what you’ve already learned, giving you a rock-solid foundation for real-world success.

 

Full-color figures and clear step-by-step instructions visually show you how to program with Java.

 

Quizzes and Exercises at the end of each chapter help you test your knowledge.

 

Notes, Tips, and Cautions provide related information, advice, and warnings.

 

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

• Use Java 9’s new HTTP client

• Use Java to create a• Android app

• Expand your skills with closures

• Create Minecraft mods with Java

 

Contents at a Glance

 

Part I Getting Started

1 Becoming a Programmer

2 Writing Your First Program

3 Vacationing i• Java

4 Understanding How Java Programs Work

 

Part II Learning the Basics of Programming

5 Storing and Changing Informatio• i• a Program

6 Using Strings to Communicate

7 Using Conditional Tests to Make Decisions

8 Repeating a• Actio• with Loops

 

Part III Working with Informatio• i• New Ways

9 Storing Informatio• with Arrays

10 Creating Your First Object

11 Describing What Your Object is Like

12 Making the Most of Existing Objects

 

Part IV Moving into Advanced Topics

13 Storing Objects i• Data Structures

14 Handling Errors i• a Program

15 Creating a Threaded Program

16 Using Inner Classes and Closures

 

Part V Programming a Graphical User Interface

17 Building a Simple User Interface i• Swing

18 Laying Out a User Interface

19 Responding to User Input

 

Part VI Writing Internet Applications

20 Reading and Writing Files

21 Using Java 9's New HTTP Client

22 Creating Java2D Graphics

23 Creating Minecraft Mods with Java

24 Writing Android Apps

 

Appendixes

A Using the NetBeans Integrated Development Environment

B Where to Go from Here Java Resources

C This Book's Web Site

 

D Fixing a Problem with the Android Studio Emulator

商品描述(中文翻譯)

電腦程式設計使用 Java 比看起來簡單。在短短 24 課,每課一小時或更少的時間內,您可以學會用 Java 編寫電腦程式。

使用簡單明瞭的逐步方法,知名作者 Rogers Cadenhead 幫助您掌握創建桌面和網頁程式、網頁服務、Android 應用程式,甚至是 Minecraft 模組所需的技能和技術。

每一課都建立在您已經學過的知識之上,為您提供堅實的基礎,以便在現實世界中取得成功。

全彩插圖和清晰的逐步指導直觀地展示了如何使用 Java 進行程式設計。

每章結尾的測驗和練習幫助您檢測自己的知識。

附註、提示和注意事項提供相關資訊、建議和警告。

學習如何……

• 設置您的 Java 程式設計環境

• 在幾分鐘內編寫您的第一個可運行程式

• 控制程式的決策和行為

• 儲存和處理資訊

• 建立簡單的使用者介面

• 創建互動式網頁程式

• 使用執行緒來構建更具響應性的程式

• 讀取和寫入檔案及 XML 數據

• 掌握物件導向程式設計的最佳實踐

• 使用 Java 9 的新 HTTP 客戶端

• 使用 Java 創建 Android 應用程式

• 擴展您的技能,學習閉包

• 使用 Java 創建 Minecraft 模組

內容概覽

第一部分 開始入門

1 成為程式設計師

2 編寫您的第一個程式

3 在 Java 中度假

4 理解 Java 程式的運作方式

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

5 在程式中儲存和更改資訊

6 使用字串進行溝通

7 使用條件測試來做決策

8 使用迴圈重複行動

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

9 使用陣列儲存資訊

10 創建您的第一個物件

11 描述您的物件的特性

12 充分利用現有物件

第四部分 進入進階主題

13 在資料結構中儲存物件

14 在程式中處理錯誤

15 創建一個多執行緒程式

16 使用內部類別和閉包

第五部分 程式設計圖形使用者介面

17 使用 Swing 建立簡單的使用者介面

18 佈局使用者介面

19 回應使用者輸入

第六部分 編寫網際網路應用程式

20 讀取和寫入檔案

21 使用 Java 9 的新 HTTP 客戶端

22 創建 Java2D 圖形

23 使用 Java 創建 Minecraft 模組

24 編寫 Android 應用程式

附錄

A 使用 NetBeans 整合開發環境

B 接下來該去哪裡 Java 資源

C 本書的網站

D 修正 Android Studio 模擬器的問題