-- 會員 / 註冊 --  
 帳號:
 密碼:
  | 註冊 | 忘記密碼
10/8 新書到! 10/1 新書到! 9/24 新書到! 9/18 新書到!
購書流程Q & A站務留言版客服信箱
3ds MaxMayaRhinoAfter EffectsSketchUpZBrushPainterUnity
PhotoShopAutoCadMasterCamSolidWorksCreoUGRevitNuke
C#CC++Java遊戲程式Linux嵌入式PLCFPGAMatlab
駭客資料庫搜索引擎影像處理FluentVR+ARANSYS深度學習
單晶片AVROpenGLArduinoRaspberry Pi電路設計CadenceProtel
HadoopPythonStm32CortexLabview手機程式AndroidiPhone
可查書名,作者,ISBN,3dwoo書號
詳細書籍分類

零基礎輕松學Java

( 簡體 字)
作者:張洪波 丁衛穎 鄭 錚 編著類別:1. -> 程式設計 -> JAVA -> Java
譯者:
出版社:機械工業出版社零基礎輕松學Java 3dWoo書號: 50148
詢問書籍請說出此書號!

有庫存
NT售價: 345

出版日:11/1/2018
頁數:308
光碟數:0
站長推薦:
印刷:黑白印刷語系: ( 簡體 版 )
加入購物車 加到我的最愛
(請先登入會員)
ISBN:9787111611301
作者序 | 譯者序 | 前言 | 內容簡介 | 目錄 | 
(簡體書上所述之下載連結耗時費功, 恕不適用在台灣, 若讀者需要請自行嘗試, 恕不保證)
作者序:

譯者序:

前言:

Java是Sun公司推出的一種程序設計語言,擁有面向對象、跨平臺、分布式、高性能、可移植等優點和特性,是目前廣泛使用的編程語言之一。Java主要有Java SE(Java標準版本)、Java EE(Java企業版本)和Java ME(Java移動電子設備版本)三個版本。其中,Java SE是Java語言的標準版,包含Java基本語法、面向對象程序設計、多線程、數據集合、輸入和輸出、Swing程序設計、網絡編程及數據庫操作等。

本書通過通俗易懂的語言和實用生動的例子,系統地介紹了Java SE程序設計的基礎知識、開發環境與開發工具,并且在每一章的后面都提供習題,方便讀者檢查學習效果,還提供了部分上機實驗,使讀者快速掌握Java SE程序的開發技能。

全書共分12章,具體內容如下:

第1章主要介紹Java技術的相關概念及如何開發Java程序,包括Java語言的概述、Java開發環境的搭建、開發工具Ecplise的使用。

第2章主要介紹Java語言的基礎知識,包括數據類型、運算符、控制流程、數組和函數等。

第3章主要介紹面向對象編程的基礎,包括Java語言中的類、對象、包、接口、類的繼承、多態和封裝等。

第4章介紹異常處理機制,包括異常類及分類、異常處理機制、自定義異常等。

第5章介紹線程技術,包括線程的創建、狀態、調度、優先級和線程同步等。

第6章主要介紹Java程序設計中的集合類,包括List集合、Set集合、Map集合等。

第7章主要介紹Java的輸入/輸出功能,包括文件操作類、字節流、字符流和對象序列化等。

第8章主要介紹Java的數據庫操作,包括JDBC概述、JDBC中常用的接口、連接數據庫、操作數據庫和應用JDBC事務。

第9章主要介紹Java的網絡編程,通過聊天程序講解網絡編程的相關技術。

第10章主要介紹Java的圖形用戶界面編程,講解Swing的編程技術和實現。

第11 章主要介紹Java 常用的類庫,包括StringBuffer 類、Runtime 類、System 類、Math 類、Random 類等。

第12 章通過實戰演練讓讀者了解和掌握Java 程序開發的過程。

本書資源可以登錄機械工業出版社華章公司的網站(www.hzbook.com)下載,搜索到本書,然后在頁面上的“資源下載”模塊下載即可。

本書由唐山師范學院的張洪波、丁衛穎、鄭錚老師共同編寫完成,第1~3、7、8、10、11 章由張洪波編寫,第4 ∼ 6 章由丁衛穎編寫,第9 章和第12 章由鄭錚編寫。同時,對參與文字錄入及書中代碼編寫、調試工作的人員表示衷心的感謝!如果讀者對本書有疑問或建議,可發送電子郵件至booksaga@126.com。

因為要熟練掌握Java 語言必須進行大量的上機練習,所以無論是否安排上機實驗,讀者都應該獨立、認真地完成本書中的所有示例和實驗。本書適合Java 初學者和計算機及相關專業的學生使用。

由于編寫時間倉促和作者水平有限,書中錯誤和不妥之處敬請讀者批評指正。



編 者

2018 年9 月
內容簡介:

本書特色

本書由經驗豐富的Java工程師針對初學者量身定制。

書中使用豐富的示例、通俗易懂的語言和直觀的圖示進行描述,降低了學習難度。

主要內容包括:Java開發環境搭建、Java語言基礎、面向對象編程、異常、線程、集合類、IO、數據庫編程、網絡編程、圖形界面、常用類庫等。

提供豐富的練習題操作示例與項目實踐(記事本工具的開發、網絡通信工具的開發、在線相冊的開發)。
目錄:

前 言
第1章 開始Java之旅 ············1
1.1 無處不在的Java ················1
1.2 Java為何受大家喜愛 ················2
1.3 Java的目標 ··············3
1.4 Java開發環境的搭建 ················3
1.4.1 JDK的下載與安裝 ·············3
1.4.2 Java開發環境配置 ·············5
1.5 Java程序運行的原理 ················6
1.6 Java開發工具Eclipse ···············6
1.6.1 Eclipse的安裝與啟動 ···············6
1.6.2 Eclipse編寫Java程序的流程···············8
1.7 要點總結 ··············12
1.8 練習題 ················12
第2章 Java語言基礎 ·······13
2.1 Java程序的基本組成 ··············13
2.2 Java語言的數據類型 ··············16
2.2.1 整數類型 ·················16
2.2.2 浮點類型 ·················17
2.2.3 字符類型 ·················17
2.2.4 布爾類型 ·················17
2.2.5 基本數據類型的默認值 ···············17
2.2.6 類型轉換 ·················17
2.3 運算符和表達式 ················19
2.3.1 賦值運算符 ···············19
2.3.2 算術運算符 ···············19
2.3.3 位運算符 ·················20
2.3.4 關系運算符 ···············21
2.3.5 三元運算符 ···············21
2.3.6 運算符優先級 ···············22
2.4 流程控制語句 ············22
2.4.1 選擇語句 ·················22
2.4.2 循環語句 ·················27
2.5 數組與方法 ··············32
2.5.1 一維數組 ·················32
2.5.2 二維數組 ·················35
2.5.3 方法 ·············37
2.6 要點總結 ··············40
2.7 編程練習 ··············40
第3 章 Java 面向對象編程 ··············· 41
3.1 理解面向對象 ············41
3.1.1 基本概念 ·················41
3.1.2 基本特性 ·················42
3.2 類與對象 ··············42
3.2.1 類定義 ···················42
3.2.2 對象的創建及使用 ············45
3.2.3 this 和static 關鍵字 ············48
3.2.4 內部類 ···················52
3.3 繼承 ··················53
3.3.1 繼承的語法和規則 ············53
3.3.2 重載和覆蓋 ···············55
3.3.3 super 關鍵字 ················56
3.4 final 關鍵字 ··············57
3.4.1 final 變量 ·················57
3.4.2 final 方法 ·················57
3.4.3 final 類 ················58
3.5 抽象類 ················58
3.6 接口 ··················59
3.6.1 接口定義 ·················59
3.6.2 實現接口 ·················60
3.6.3 匿名內部類 ···············61
3.7 包及訪問控制權限 ················61
3.7.1 包的操作 ··················62
3.7.2 訪問權限修飾符 ··············62
3.8 對象的多態性 ············63
3.9 Object 類 ··············64
3.10 包裝類 ················66
3.10.1 基本數據類型轉換為包裝類 ·············67
3.10.2 字符串轉換為包裝類 ···············67
3.10.3 包裝類轉換為基本數據類型 ·············67
3.10.4 字符串轉換為基本數據類型 ·············68
3.10.5 自動裝箱和自動拆箱 ···············68
3.10.6 覆蓋父類的方法 ·············69
3.11 String 類 ···············69
3.11.1 String 對象的實例化和內容比較 ············69
3.11.2 String 類中的常用方法 ···············70
3.12 要點總結 ··············71
3.13 編程練習 ··············71
第4 章 Java 異常 ·············· 73
4.1 Java 中的異常類及分類 ··············73
4.2 Java 異常處理機制 ················75
4.2.1 捕獲處理異常 ···············76
4.2.2 聲明拋出異常 ···············80
4.3 自定義異常 ··············82
4.4 自定義異常的綜合應用 ··············84
4.5 實例練習:異常的綜合應用 ············87
4.6 要點總結 ··············88
4.7 編程練習 ··············88
第5 章 Java 線程 ·············· 90
5.1 多線程及線程簡介 ················90
5.2 線程的創建 ··············91
5.3 線程的狀態 ··············95
5.4 線程的調度 ··············95
5.5 線程的優先級 ············96
5.6 守護線程 ··············99
5.7 線程同步 ··············101
5.8 實例練習:線程綜合應用 ·············106
5.9 要點總結 ··············109
5.10 練習題 ··············109
5.11 編程練習 ··············110
第6 章·············111
Java 集合框架 ···············111
6.1 常用集合接口 ··············111
6.1.1 Collection 接口 ··············112
6.1.2 List 接口 ················113
6.1.3 Set 接口 ·················114
6.1.4 Map 接口 ·················114
6.1.5 Map.Entry 接口 ·············116
6.1.6 Iterator 接口 ···············116
6.1.7 ListIterator 接口 ············116
6.2 常用集合類 ············117
6.2.1 ArrayList 類 ··············118
6.2.2 LinkedList 類 ···············121
6.2.3 HashSet 類 ···············125
6.2.4 HashMap ················127
6.3 實例練習:集合類的綜合運用 ·············131
6.4 要點總結 ··············132
6.5 練習題 ················132
6.6 編程練習 ··············133
第7 章 Java IO ··············· 134
7.1 File 類 ···············134
7.2 RandomAccessFile 類 ··············136
7.3 字節流與字符流 ················137
7.3.1 字節流 ··················138
7.3.2 字符流 ··················139
7.3.3 字節流與字符流的區別 ···············140
7.4 轉換流 ················141
7.5 打印流 ················142
7.6 管道流 ················143
7.7 BufferedReader 類和BufferedWriter 類 ············144
7.8 數據操作流 ············145
7.9 對象流 ················147
7.10 Scanner 類 ············148
7.11 要點總結 ··············148
7.12 編程練習 ··············149
第8 章 Java 數據庫編程 ·············· 150
8.1 JDBC 技術 ·············150
8.1.1 JDBC 技術簡介 ·············150
8.1.2 JDBC 驅動程序 ·············151
8.1.3 JDBC 和ODBC 與其他API 的比較 ············152
8.2 結構化查詢語言 ···············152
8.2.1 SQL 簡介 ·················153
8.2.2 SELECT 語句 ··············153
8.2.3 更新記錄 ·················154
8.2.4 聚集函數 ·················155
8.3 JDBC 基本操作 ·················156
8.3.1 JDBC 操作步驟 ·············156
8.3.2 JDBC-ODBC 連接數據庫 ··············157
8.3.3 JDBC 直接連接數據庫 ···············163
8.3.4 JDBC 對數據庫的更新操作 ·············167
8.4 JDBC 高級操作 ·················170
8.4.1 PreparedStatemen 接口 ···············170
8.4.2 CallableStatement 接口 ···············172
8.4.3 事務處理 ·················173
8.5 要點總結 ··············173
8.6 練習題 ················173
8.7 編程練習 ··············174
第9 章 Java 網絡編程 ············· 175
9.1 網絡基礎 ··············175
9.1.1 TCP/IP 網絡模型 ············175
9.1.2 IP 地址與InetAddress 類··············176
9.1.3 套接字 ·················176
9.2 UDP 協議網絡程序 ···············177
9.2.1 概述 ·············177
9.2.2 DatagramPacket 類 ·············177
9.2.3 DatagramSocket 類 ·············178
9.2.4 創建UDP 服務器端程序 ···············179
9.2.5 創建UDP 客戶端程序 ···············180
9.3 TCP 協議網絡程序················181
9.3.1 概述 ·············181
9.3.2 Socket 類················182
9.3.3 ServerSocket 類 ·············183
9.3.4 創建TCP 服務器端程序 ··············184
9.3.5 創建TCP 客戶端程序 ················185
9.4 HTTP 協議網絡程序 ···············186
9.4.1 概述 ·············186
9.4.2 URL 類 ··················186
9.4.3 URLConnection 類 ··············188
9.5 綜合實例:實現簡單的Web 服務器·············189
9.6 要點總結 ··············193
9.7 練習題 ················193
9.8 編程練習 ··············194
第10 章 Java 圖形用戶界面 ··············· 195
10.1 AWT 與Swing 簡介 ··············195
10.1.1 AWT 簡介 ················195
10.1.2 Swing 簡介 ··············196
10.1.3 容器簡介 ···············196
10.2 創建窗體 ··············197
10.3 標簽組件:JLabel ···············198
10.4 按鈕組件:JButton ···············202
10.5 JPanel 容器 ············203
10.6 布局管理器 ············204
10.6.1 FlowLayout ··············204
10.6.2 BorderLayout ·············205
10.6.3 GridLayout ···············206
10.6.4 CardLayout ··············207
10.7 文本組件:JTextComponent ············208
10.7.1 單行文本框:JTextField ·············208
10.7.2 密碼文本框:JPasswordField ·············210
10.7.3 多行文本框:JTextArea ···············211
10.8 事件處理 ··············212
10.8.1 事件和監聽器 ·············212
10.8.2 窗體事件 ···············215
10.8.3 動作事件及監聽處理 ···············218
10.8.4 鍵盤事件及監聽處理 ···············219
10.8.5 鼠標事件及監聽處理 ···············221
10.8.6 焦點事件及監聽處理 ···············223
10.9 單選按鈕組件:JRadioButton ···············224
10.10 復選框組件:JCheckBox ··············227
10.11 列表框組件:JList ··············229
10.12 下拉列表框:JComboBox ···············230
10.13 菜單組件:JMenu 與JMenuBar ··············232
10.14 文件選擇框組件:JFileChooser ·············233
10.15 要點總結 ············236
10.16 練習題 ··············236
第11 章 Java 常用類庫 ············ 239
11.1 StringBuffer 類 ···············239
11.2 Runtime 類 ·············242
11.3 System 類 ·············244
11.4 Math 類 ··············244
11.5 Random 類 ·············245
11.6 要點總結 ··············245
11.7 練習題 ··············245
第12 章 Java 項目開發 ············· 248
12.1 軟件開發過程 ··················248
12.1.1 需求 ···················248
12.1.2 分析設計 ···············249
12.1.3 實現和測試 ···············249
12.2 項目實例:記事本工具的開發 ··············249
12.2.1 需求分析設計 ·············249
12.2.2 實現和測試 ···············250
12.3 項目實例:網絡通信工具的開發 ··············267
12.3.1 需求分析設計 ·············267
12.3.2 實現和測試 ···············268
12.4 項目實例:在線相冊的開發 ··········272
12.4.1 需求分析設計 ·············272
12.4.2 數據庫設計 ···············273
12.4.3 開發數據庫JavaBean ·············276
12.4.4 實現和測試 ··············290
12.5 要點總結 ··············308
12.6 編程練習 ··············308
序: