基本信息
源码名称:Java Book
源码大小:4.06M
文件格式:.pdf
开发语言:Java
更新时间:2022-02-15
   友情提示:(无需注册或充值,赞助后即可获取资源下载链接)

     嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):813200300

本次赞助数额为: 2 元 
   源码介绍

Java Book


Ta ble of Contents
Pr eface ............................................................................................... xiii
Part I: Introducing Java
Chapter 1—Intr oduction ................................................................. 3
What Is Java? ........................................................................................... 3
Key Benefits of Java ............................................................................... 6
An Example Program ............................................................................. 9
Chapter 2—Java Syntax from the Ground Up ......................... 19
The Unicode Character Set ................................................................... 20
Comments ............................................................................................. 20
Identifiers and Reserved Words ........................................................... 21
Primitive Data Types ............................................................................ 22
Expr essions and Operators .................................................................. 29
Statements ............................................................................................. 43
Methods ................................................................................................. 64
Classes and Objects .............................................................................. 66
Array Types ........................................................................................... 69
Refer ence Types ................................................................................... 74
Packages and the Java Namespace ...................................................... 81
Java File Structure ................................................................................. 83
Defining and Running Java Programs ................................................. 84
Dif ferences Between C and Java ......................................................... 85
vii
Chapter 3—Object-Oriented Programming in Java ............... 88
The Members of a Class ....................................................................... 88
Cr eating and Initializing Objects .......................................................... 94
Destr oying and Finalizing Objects ....................................................... 98
Subclasses and Inheritance ................................................................. 101
Data Hiding and Encapsulation ......................................................... 110
Abstract Classes and Methods ............................................................ 115
Inter faces ............................................................................................. 117
Inner Class Overview ......................................................................... 122
Static Member Classes ......................................................................... 124
Member Classes .................................................................................. 125
Local Classes ....................................................................................... 129
Anonymous Classes ............................................................................ 133
How Inner Classes Work .................................................................... 136
Modifier Summary ............................................................................... 138
C Features Not Found in Java ........................................................ 140
Chapter 4—The Java Platform .................................................. 142
Java Platform Overview ...................................................................... 142
Strings and Characters ........................................................................ 145
Numbers and Math ............................................................................. 151
Dates and Times ................................................................................. 154
Arrays ................................................................................................... 155
Collections ........................................................................................... 156
Types, Reflection, and Dynamic Loading .......................................... 158
Thr eads ................................................................................................ 160
Files and Directories ........................................................................... 165
Input and Output Streams .................................................................. 166
Networking .......................................................................................... 171
Pr operties and Prefer ences ................................................................. 176
Logging ................................................................................................ 178
The New I/O API ................................................................................ 179
XML ...................................................................................................... 191
Pr ocesses ............................................................................................. 196
Security ................................................................................................ 196
Cryptography ...................................................................................... 199
viii Table of Contents
Chapter 5—Java Security ............................................................ 202
Security Risks ...................................................................................... 202
Java VM Security and Class File Verification ..................................... 203
Authentication and Cryptography ...................................................... 204
Access Control .................................................................................... 204
Security for Everyone ......................................................................... 207
Per mission Classes .............................................................................. 209
Chapter 6—JavaBeans ................................................................. 211
Bean Basics ......................................................................................... 212
JavaBeans Conventions ...................................................................... 214
Bean Contexts and Services ............................................................... 221
Chapter 7—Java Programming and Documentation
Conventions .............................................................................. 222
Naming and Capitalization Conventions ........................................... 222
Portability Conventions and Pure Java Rules .................................... 223
Java Documentation Comments ......................................................... 225
Chapter 8—Java Development Tools ........................................ 234
appletviewer ........................................................................................ 234
extcheck .............................................................................................. 238
jar ......................................................................................................... 238
jarsigner ............................................................................................... 241
java ....................................................................................................... 242
javac ..................................................................................................... 248
javadoc ................................................................................................ 251
javah .................................................................................................... 257
javap .................................................................................................... 259
jdb ........................................................................................................ 260
keytool ................................................................................................. 265
native2ascii .......................................................................................... 268
policytool ............................................................................................. 269
serialver ............................................................................................... 270
Table of Contents ix
Part II: API Quick Reference
How to Use This Quick Reference ............................................... 273
Finding a Quick-Reference Entry ....................................................... 273
Reading a Quick-Reference Entry ...................................................... 274
Chapter 9—java.beans and java.beans.beancontext .......... 282
Chapter 10—java.io ..................................................................... 323
Chapter 11—java.lang, java.lang.ref,
and java.lang.reflect .............................................................. 374
Chapter 12—java.math ............................................................... 444
Chapter 13—java.net ................................................................... 448
Chapter 14—java.nio and Subpackages ................................ 481
Chapter 15—java.security and Subpackages ........................ 533
Chapter 16—java.text .................................................................. 609
Chapter 17—java.util and Subpackages ................................ 635
Chapter 18—javax.crypto and Subpackages ......................... 738
Chapter 19—javax.net and javax.net.ssl ............................... 762
Chapter 20—javax.security.auth and Subpackages ............ 782
Chapter 21—javax.xml.parsers, java.xml.transform,
and Subpackages ..................................................................... 805
Chapter 22—org.ietf.jgss ............................................................. 826
x Table of Contents
Chapter 23—org.w3c.dom ......................................................... 833
Chapter 24—org.xml.sax, org.xml.sax.ext,
and org.xml.sax.helpers ......................................................... 848
Chapter 25—Class, Method, and Field Index ........................ 871
Index ................................................................................................. 919

Java IN A NUTSHELL

A Desktop Quick Reference, Fourth Edition, David Flanagan

Published by O’Reilly & Associates, Inc.

ISBN: 0-596-00283-1