Sams Teach Yourself Java in 24 Hours, 8/e (Covering 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應用程序甚至是Java中的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 使用內部類和閉包

以上是書籍的簡介和目錄。