简介
“Java典型应用彻查1000例”系列丛书以提出并解决问题为导向,通
过超过1000个开发范例,全面介绍Java语言从基础到网络、数据库、游戏
和Web开发的特性和实现方法。本系列丛书共六册,每册可独立学习,若能
全部融会贯通,则效果更佳。
本书是丛书的第2册,从Java基础过渡到网络程序开发领域,循序渐进
地介绍了Java基础概念、网络数据流、组播、用户图形接口与网络应用程
序开发等知识,并通过大量范例详尽演示理论知识的实际应用。
本系列丛书的作者为中国台湾地区长期从事Java教学的知名教授,本
书实例丰富,编排合理,可以让有初级Java基础的读者,从陌生到完全熟
练地开发网络应用程序,适合作为Java网络开发课程的教材。
本书光盘不仅包含书中全部范例源代码以及习题答案,并赠送350分钟
的教学视频,特别适合自学之用。
目录
part 01 java基本概念(basic concepts).
chapter 01 对象概念(object concepts) 3
1-1 简介 3
1-2 类 3
1-3 新对象的产生 4
1-4 新对象的使用 4
1-5 代码块(block) 5
1-6 实例变量(instance variable) 10
1-7 类变量(class variables) 12
1-8 习题 14
chapter 02 表达式(expression)与流程控制(control flow) 15
2-1 简介 15
2-2 变量 16
2-3 运算表达式(expression) 17
2-4 类型转换(type conversion) 19
2-5 流程控制(control flow) 22
2-5-1 选择流程控制(decision control flow) 22
2-5-2 循环流程控制(loop control flow) 26
2-6 break与continue 28
2-7 习题 31
.chapter 03 方法(methods) 32
3-1 简介 32
3-2 方法(methods) 32
3-3 实例方法(instance methods) 34
3-4 类方法(class methods) 35
3-5 构造函数(constructor) 36
3-6 方法重载(method overload) 38
3-7 public / private修饰符(modifications) 41
3-8 this关键字 44
3-8-1 类 44
3-8-2 构造函数 45
3-9 嵌套类(nested class) 48
3-9-1 成员类(member class) 48
3-9-2 局部类(local class) 53
3-10 习题 56
chapter 04 基础程序设计(basic programming) 58
4-1 简介 58
4-2 继承(inheritance) 58
4-3 继承(inheritance)与修饰符(modifications) 62
4-4 super的应用 64
4-5 final的应用 67
4-6 抽象类(abstract classes) 70
4-7 接口类(interface classes) 75
4-8 多态(polymorphism) 79
4-9 习题 82
chapter 05 异常处理(exceptions) 83
5-1 简介 83
5-2 try/catch/finally语句 83
5-2-1 try/catch语句的必要性 84
5-2-2 try/catch语句的应用 86
5-2-3 finally语句的应用 88
5-3 throws的用法 92
5-4 自定义异常处理对象 93
5-4-1 以内置异常处理类产生自定义新对象 93
5-4-2 以自定义异常处理类产生自定义新对象 96
5-5 习题 100
chapter 06 package包与jar文件 101
6-1 简介 101
6-2 类(class)文件 101
6-3 单一文件包(single file package) 104
6-4 多文件包(multi files package) 106
6-5 包的导入(import package) 108
6-6 压缩文件(jar files) 110
6-7 jar文件与class文件的添加 112
6-7-1 包class文件 112
6-7-2 非包class文件 115
6-8 使用jar文件 117
6-8-1 导入jar文件 117
6-8-2 jar文件新对象 120
6-9 习题 123
chapter 07 输入/输出流(input/output streams) 124
7-1 简介 124
7-2 命令行参数(command parameters) 124
7-3 文件对象(file objects) 128
7-4 文件输入/输出流(file input/output streams) 130
7-5 fileinputstream与fileoutputstream 130
7-6 datainputstream与dataoutputstream 135
7-7 filereader与filewriter 140
7-8 键盘数据输入 144
7-9 习题 149
chapter 08 线程(threads) 150
8-1 简介 150
8-2 线程状态(thread states) 150
8-3 thread类 151
8-4 方法isalive()、join() 156
8-5 方法suspend()、resume() 159
8-6 方法setpriority()和getpriority() 163
8-7 synchronized的应用 167
8-8 线程组(thread group)的应用 172
8-9 习题 175
part 02 网络数据流(data stream in network)
chapter 09 网络结构概念(network structure concepts) 179
9-1 简介 179
9-2 网络意义(background) 179
9-2-1 网络系统的优点(advantages of network systems) 180
9-2-2 操作系统的类型(types of operating system) 180
9-3 拓扑结构(topology) 181
9-4 网络通信(communication).. 183
9-4-1 名称解析(naming resolution) 183
9-4-2 路由策略(routing strategies) 184
9-4-3 连接策略(connection strategies) 185
9-4-4 冲突避免(contention) 185
9-5 网络通信协议(communication protocols) 186
9-6 网络故障处理(robustness) 188
9-7 习题 189
chapter 10 网络连接(server/client connection) 190
10-1 简介 190
10-2 serversocket class 190
10-3 inetaddress class 192
10-4 socket class 193
10-5 命令行参数与server/client连接 200
10-6 多次server/client连接记录 204
10-7 习题 208
chapter 11 消息的传输(message transition) 209
11-1 简介 209
11-2 datainputstream class 209
11-3 dataoutputstream class 210
11-4 消息传递(message translation) 210
11-5 习题 219
chapter 12 网络文件传输(file transition) 220
12-1 简介 220
12-2 fileinputstream class 220
12-3 fileoutputstream class 221
12-4 文件传输(file translation) 222
12-5 文件上传(file upload) 227
12-6 文件下载(file download) 233
12-7 习题 238
chapter 13 网络键盘输入(input from key) 239
13-1 简介 239
13-2 bufferedinputstream class 239
13-3 bufferedoutputstream class 240
13-4 键盘输入/远程打印 240
13-5 键盘输入/远程文件 248
13-6 习题 254
chapter 14 交叉传输(intercross transition) 255
14-1 简介 255
14-2 键盘输入/交叉传输打印 255
14-3 习题 261
part 03 组播(multi broadcast)
chapter 15 哈希(hashing) 264
15-1 简介 264
15-2 基本概念(basic concepts) 264
15-3 操作哈希(operation of hashing) 266
15-4 hashtable class 268
15-5 enumeration interface 272
15-6 习题 273
chapter 16 线程同步(threads synchronized) 275
16-1 简介 275
16-2 runnable interface 275
16-3 thread class 276
16-4 临界区(critical section)与synchronized 279
16-5 习题 280
chapter 17 广播程序设计 (broadcast programming) 281
17-1 简介 281
17-2 广播架构 282
17-3 服务器(server) 282
17-3-1 服务器套接字(serversocket)/连接套接字(socket) 282
17-3-2 创建哈希表(hash table) 283
17-3-3 创建线程 284
17-4 发送端(speaker) 285
17-4-1 连接套接字(socket) 285
17-4-2 缓冲区流(inputstreamreader) 285
17-4-3 网络输出流(dataoutputstream) 285
17-5 接收端(receiver) 286
17-5-1 连接套接字(socket) 286
17-5-2 网络输入流(datainputstream) 286
17-6 键盘输入/广播打印 286
17-7 键盘输入/广播文件 294
17-8 习题 299
part 04 用户图形接口(gui)与网络应用
chapter 18 窗口架构(frame structures) 302
18-1 简介 302
18-2 frame class 302
18-3 textfield class 306
18-4 borderlayout class 309
18-5 习题 310
chapter 19 用户图形接口与网络交叉传输(gui and intercross transition) 312
19-1 简介 312
19-2 actionlistener interface 312
19-3 actionevent class 315
19-4 vector class 317
19-5 用户图形接口与窗口的关闭 320
19-6 用户图形接口与数据的显示 321
19-7 server/client交叉传输程序设计 325
19-8 习题 335
chapter 20 用户图形接口与组播(gui and multi broadcast) 336
20-1 简介 336
20-2 server/client组播程序设计 336
appendix a 异常处理内置类 348
a-1 java.lang的error类架构 348
a-2 java.lang的exception类架构 349
a-3 java.util的exception类架构 349
a-4 java.io的exception类架构 350
a-5 java.awt的exception类架构 350
a-6 java.net的exception类架构 350
appendix b 文件输入/输出流(file i/o streams)的架构与方法 352
b-1 文件类常用的方法 352
b-2 文件输入/输出流(file i/o streams)架构 353
b-3 inputstream/outputstream常用的方法 354
b-4 datainputstream/dataoutputstream常用的方法 354
appendix c 网络公用端口(port)... 356
chapter 01 对象概念(object concepts) 3
1-1 简介 3
1-2 类 3
1-3 新对象的产生 4
1-4 新对象的使用 4
1-5 代码块(block) 5
1-6 实例变量(instance variable) 10
1-7 类变量(class variables) 12
1-8 习题 14
chapter 02 表达式(expression)与流程控制(control flow) 15
2-1 简介 15
2-2 变量 16
2-3 运算表达式(expression) 17
2-4 类型转换(type conversion) 19
2-5 流程控制(control flow) 22
2-5-1 选择流程控制(decision control flow) 22
2-5-2 循环流程控制(loop control flow) 26
2-6 break与continue 28
2-7 习题 31
.chapter 03 方法(methods) 32
3-1 简介 32
3-2 方法(methods) 32
3-3 实例方法(instance methods) 34
3-4 类方法(class methods) 35
3-5 构造函数(constructor) 36
3-6 方法重载(method overload) 38
3-7 public / private修饰符(modifications) 41
3-8 this关键字 44
3-8-1 类 44
3-8-2 构造函数 45
3-9 嵌套类(nested class) 48
3-9-1 成员类(member class) 48
3-9-2 局部类(local class) 53
3-10 习题 56
chapter 04 基础程序设计(basic programming) 58
4-1 简介 58
4-2 继承(inheritance) 58
4-3 继承(inheritance)与修饰符(modifications) 62
4-4 super的应用 64
4-5 final的应用 67
4-6 抽象类(abstract classes) 70
4-7 接口类(interface classes) 75
4-8 多态(polymorphism) 79
4-9 习题 82
chapter 05 异常处理(exceptions) 83
5-1 简介 83
5-2 try/catch/finally语句 83
5-2-1 try/catch语句的必要性 84
5-2-2 try/catch语句的应用 86
5-2-3 finally语句的应用 88
5-3 throws的用法 92
5-4 自定义异常处理对象 93
5-4-1 以内置异常处理类产生自定义新对象 93
5-4-2 以自定义异常处理类产生自定义新对象 96
5-5 习题 100
chapter 06 package包与jar文件 101
6-1 简介 101
6-2 类(class)文件 101
6-3 单一文件包(single file package) 104
6-4 多文件包(multi files package) 106
6-5 包的导入(import package) 108
6-6 压缩文件(jar files) 110
6-7 jar文件与class文件的添加 112
6-7-1 包class文件 112
6-7-2 非包class文件 115
6-8 使用jar文件 117
6-8-1 导入jar文件 117
6-8-2 jar文件新对象 120
6-9 习题 123
chapter 07 输入/输出流(input/output streams) 124
7-1 简介 124
7-2 命令行参数(command parameters) 124
7-3 文件对象(file objects) 128
7-4 文件输入/输出流(file input/output streams) 130
7-5 fileinputstream与fileoutputstream 130
7-6 datainputstream与dataoutputstream 135
7-7 filereader与filewriter 140
7-8 键盘数据输入 144
7-9 习题 149
chapter 08 线程(threads) 150
8-1 简介 150
8-2 线程状态(thread states) 150
8-3 thread类 151
8-4 方法isalive()、join() 156
8-5 方法suspend()、resume() 159
8-6 方法setpriority()和getpriority() 163
8-7 synchronized的应用 167
8-8 线程组(thread group)的应用 172
8-9 习题 175
part 02 网络数据流(data stream in network)
chapter 09 网络结构概念(network structure concepts) 179
9-1 简介 179
9-2 网络意义(background) 179
9-2-1 网络系统的优点(advantages of network systems) 180
9-2-2 操作系统的类型(types of operating system) 180
9-3 拓扑结构(topology) 181
9-4 网络通信(communication).. 183
9-4-1 名称解析(naming resolution) 183
9-4-2 路由策略(routing strategies) 184
9-4-3 连接策略(connection strategies) 185
9-4-4 冲突避免(contention) 185
9-5 网络通信协议(communication protocols) 186
9-6 网络故障处理(robustness) 188
9-7 习题 189
chapter 10 网络连接(server/client connection) 190
10-1 简介 190
10-2 serversocket class 190
10-3 inetaddress class 192
10-4 socket class 193
10-5 命令行参数与server/client连接 200
10-6 多次server/client连接记录 204
10-7 习题 208
chapter 11 消息的传输(message transition) 209
11-1 简介 209
11-2 datainputstream class 209
11-3 dataoutputstream class 210
11-4 消息传递(message translation) 210
11-5 习题 219
chapter 12 网络文件传输(file transition) 220
12-1 简介 220
12-2 fileinputstream class 220
12-3 fileoutputstream class 221
12-4 文件传输(file translation) 222
12-5 文件上传(file upload) 227
12-6 文件下载(file download) 233
12-7 习题 238
chapter 13 网络键盘输入(input from key) 239
13-1 简介 239
13-2 bufferedinputstream class 239
13-3 bufferedoutputstream class 240
13-4 键盘输入/远程打印 240
13-5 键盘输入/远程文件 248
13-6 习题 254
chapter 14 交叉传输(intercross transition) 255
14-1 简介 255
14-2 键盘输入/交叉传输打印 255
14-3 习题 261
part 03 组播(multi broadcast)
chapter 15 哈希(hashing) 264
15-1 简介 264
15-2 基本概念(basic concepts) 264
15-3 操作哈希(operation of hashing) 266
15-4 hashtable class 268
15-5 enumeration interface 272
15-6 习题 273
chapter 16 线程同步(threads synchronized) 275
16-1 简介 275
16-2 runnable interface 275
16-3 thread class 276
16-4 临界区(critical section)与synchronized 279
16-5 习题 280
chapter 17 广播程序设计 (broadcast programming) 281
17-1 简介 281
17-2 广播架构 282
17-3 服务器(server) 282
17-3-1 服务器套接字(serversocket)/连接套接字(socket) 282
17-3-2 创建哈希表(hash table) 283
17-3-3 创建线程 284
17-4 发送端(speaker) 285
17-4-1 连接套接字(socket) 285
17-4-2 缓冲区流(inputstreamreader) 285
17-4-3 网络输出流(dataoutputstream) 285
17-5 接收端(receiver) 286
17-5-1 连接套接字(socket) 286
17-5-2 网络输入流(datainputstream) 286
17-6 键盘输入/广播打印 286
17-7 键盘输入/广播文件 294
17-8 习题 299
part 04 用户图形接口(gui)与网络应用
chapter 18 窗口架构(frame structures) 302
18-1 简介 302
18-2 frame class 302
18-3 textfield class 306
18-4 borderlayout class 309
18-5 习题 310
chapter 19 用户图形接口与网络交叉传输(gui and intercross transition) 312
19-1 简介 312
19-2 actionlistener interface 312
19-3 actionevent class 315
19-4 vector class 317
19-5 用户图形接口与窗口的关闭 320
19-6 用户图形接口与数据的显示 321
19-7 server/client交叉传输程序设计 325
19-8 习题 335
chapter 20 用户图形接口与组播(gui and multi broadcast) 336
20-1 简介 336
20-2 server/client组播程序设计 336
appendix a 异常处理内置类 348
a-1 java.lang的error类架构 348
a-2 java.lang的exception类架构 349
a-3 java.util的exception类架构 349
a-4 java.io的exception类架构 350
a-5 java.awt的exception类架构 350
a-6 java.net的exception类架构 350
appendix b 文件输入/输出流(file i/o streams)的架构与方法 352
b-1 文件类常用的方法 352
b-2 文件输入/输出流(file i/o streams)架构 353
b-3 inputstream/outputstream常用的方法 354
b-4 datainputstream/dataoutputstream常用的方法 354
appendix c 网络公用端口(port)... 356
Java典型应用彻查1000例,网络应用开发
- 名称
- 类型
- 大小
光盘服务联系方式: 020-38250260 客服QQ:4006604884
云图客服:
用户发送的提问,这种方式就需要有位在线客服来回答用户的问题,这种 就属于对话式的,问题是这种提问是否需要用户登录才能提问
Video Player
×
Audio Player
×
pdf Player
×
亲爱的云图用户,
光盘内的文件都可以直接点击浏览哦
无需下载,在线查阅资料!
