Sams Teach Yourself Java in 21 Days, 7/e (Paperback)
暫譯: Sams 自學 Java 21 天,第 7 版 (平裝本)

Rogers Cadenhead

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

相關主題

商品描述

In just 21 days you can acquire the knowledge and skills necessary to develop applications on your computer and apps that run on Android phones and tablets. With this complete tutorial you’ll quickly master the basics and then move on to more advanced features and concepts.

 

 

Completely updated for Java 8, this book teaches you about the Java language and how to use it to create applications for any computing environment and Android apps. By the time you have finished the book, you’ll have well-rounded knowledge of Java and the Java class libraries. Using your new skills, you will be able to develop your own programs for tasks such as web services, database connectivity, XML processing, and mobile programming.

 

 

No previous programming experience required. By following the 21 carefully organized lessons in this book, anyone can learn the basics of Java programming.

 

 

Learn at your own pace. You can work through each chapter sequentially to make sure you thoroughly understand all the concepts and methodologies, or you can focus on specific lessons to learn the techniques that interest you most.

 

Test your knowledge. Each chapter ends with a Workshop section filled with questions, answers, and exercises for further study. There are even certification practice questions.

 

 

 

  • Completely revised, updated, and expanded to cover the latest features of Java 8
  • Learn to develop Java applications and Android apps using NetBeans and Google’s new Android Studio -- two excellent (and free!) programming platforms
  • Covers new features of Java 8 such as closures, the most eagerly anticipated language feature in years
  • Easy-to-understand, practical examples clearly illustrate the fundamentals of Java programming
  • Discover how Swing can help you quickly develop programs with a graphical user interface
  • Find out about JDBC 4.2 programming with the Derby database and XML parsing with the open source XOM class library
  • Learn how to use streams to write programs that communicate with the Internet, including socket programming, buffers, channels, and URL handling. 
Contents at a Glance
 
WEEK 1: The Java Language
DAY 1 Getting Started with Java
DAY 2 The ABCs of Programming
DAY 3 Working with Objects
DAY 4 Lists, Logic, and Loops
DAY 5 Creating Classesand Methods
DAY 6 Packages, Interfaces, and Other Class Features
DAY 7 Exceptions and Threads
 
WEEK 2: The Java Class Library
DAY 8 Data Structures
DAY 9 Working with Swing
DAY 10 Building a Swing Interface
DAY 11 Arranging Components on a User Interface
DAY 12 Responding to User Input
DAY 13 Creating Java2D Graphics
DAY 14 Developing Swing Applications
 
WEEK 3: Java Programming
DAY 15 Working with Input and Output
DAY 16 Using Inner Classes and Closures
DAY 17 Communicating Across the Internet
DAY 18 Accessing Databases with JDBC 4.2 and Derby
DAY 19 Reading and Writing RSS Feeds
DAY 20 XML Web Services
DAY 21 Writing Android Apps for Java
 
APPENDIX A Using the NetBeans IDE
APPENDIX B This Book’s Website
APPENDIX C Fixing a Problem with the Android Studio Emulator
APPENDIX D Using the Java Development Kit
APPENDIX E Programming with the Java Development Kit

 

 

 

商品描述(中文翻譯)

在短短21天內,您可以獲得在電腦上開發應用程式以及在Android手機和平板電腦上運行應用程式所需的知識和技能。透過這本完整的教程,您將迅速掌握基礎知識,然後進一步學習更高級的功能和概念。

本書已完全更新至Java 8,教您有關Java語言的知識,以及如何使用它來創建適用於任何計算環境和Android應用程式的應用程式。當您完成本書時,您將對Java及其類庫有全面的了解。利用您的新技能,您將能夠開發自己的程式,執行如網路服務、資料庫連接、XML處理和行動程式設計等任務。

不需要任何先前的程式設計經驗。 透過本書中21個精心組織的課程,任何人都可以學習Java程式設計的基礎知識。

按照自己的步調學習。 您可以依序完成每一章,以確保徹底理解所有概念和方法,或者您可以專注於特定課程,學習您最感興趣的技術。

測試您的知識。 每一章的結尾都有一個工作坊部分,裡面包含問題、答案和進一步學習的練習,甚至還有認證練習題。


  • 完全修訂、更新並擴展,以涵蓋Java 8的最新功能

  • 學習如何使用NetBeans和Google的新Android Studio開發Java應用程式和Android應用程式——這兩個都是優秀(且免費!)的程式設計平台

  • 涵蓋Java 8的新功能,如閉包,這是多年來最受期待的語言特性

  • 易於理解的實用範例清楚地說明了Java程式設計的基本原則

  • 發現Swing如何幫助您快速開發具有圖形用戶介面的程式

  • 了解如何使用JDBC 4.2與Derby資料庫進行程式設計,以及使用開源XOM類庫進行XML解析

  • 學習如何使用流來編寫與互聯網通信的程式,包括套接字程式設計、緩衝區、通道和URL處理。

內容概覽


第一週:Java語言

第1天 開始使用Java

第2天 程式設計的ABC

第3天 與物件一起工作

第4天 列表、邏輯和迴圈

第5天 創建類和方法

第6天 套件、介面和其他類特性

第7天 異常和執行緒

第二週:Java類庫

第8天 資料結構

第9天 使用Swing

第10天 建立Swing介面

第11天 在用戶介面上排列元件

第12天 回應用戶輸入

第13天 創建Java2D圖形

第14天 開發Swing應用程式

第三週:Java程式設計

第15天 處理輸入和輸出

第16天 使用內部類和閉包

第17天 跨互聯網通信

第18天 使用JDBC 4.2和Derby訪問資料庫

第19天 讀取和寫入RSS源

第20天 XML網路服務

第21天 為Java編寫Android應用程式

附錄A 使用NetBeans IDE

附錄B 本書的網站

附錄C 修復Android Studio模擬器的問題

附錄D 使用Java開發工具包

附錄E 使用Java開發工具包進行程式設計