出版社:电子工业出版社
年代:2011
定价:80.0
本书详细介绍了Java语言基础知识、面向对象程序设计、接口与内部类、事件监听器模型、swing图形用户界面程序设计、打包应用程序、异常处理、登录与调试、泛型程序设计、集合框架、多线程等内容。
preface xviii
acknowledgements xxiv
chapter 1 an introduction to java(新增批注共25条)
java as a programming platform
the java "white paper" buzzwords
simple
object oriented
network-savvy
robust
secure
architecture neutral
portable
interpreted
high performance
multithreaded
dynamic
java applets and the internet
a short history of java
common misconceptions about java
chapter 2 the java programming environment
(新增批注共20条)
installing the java development kit
downloading the jdk
setting the execution path
installing the library source and documentation
installing the core java program examples
navigating the java directories
choosing a development environment
using the command-line tools
troubleshooting hints
using an integrated development environment
locating compilation errors
running a graphical application
building and running applets
chapter 3 fundamental programming structures in java
(新增批注共44条)
a simple java program
comments
data types
integer types
floating-point types
the char type
the boolean type
variables
initializing variables
constants
operators
increment and decrement operators
relational and boolean operators
bitwise operators
mathematical functions and constants
conversions between numeric types
casts
parentheses and operator hierarchy
enumerated types
strings
substrings
concatenation
strings are immutable
testing strings for equality
code points and code units
the string api
reading the on-line api documentation
building strings
input and output
reading input
formatting output
file input and output
control flow
block scope
conditional statements
loops
determinate loops
multiple selections-the switch statement
statements that break control flow
big numbers
arrays
the "for each" loop
array initializers and anonymous arrays
array copying
command-line parameters
array sorting
multidimensional arrays
ragged arrays
chapter 4 objects and classes(新增批注共55条)
introduction to object-oriented programming
classes
objects
identifying classes
relationships between classes
using predefined classes
objects and object variables
the gregoriancalendar class of the java library
mutator and accessor methods
defining your own classes
an employee class
use of multiple source files
dissecting the employee class
first steps with constructors
implicit and explicit parameters
benefits of encapsulation
class-based access privileges
private methods
final instance fields
static fields and methods
static fields
static constants
static methods
factory methods
the main method
method parameters
object construction
overloading
default field initialization
default constructors
explicit field initialization
parameter names
calling another constructor
initialization blocks
object destruction and the finalize method
packages
class importation
static imports
addition of a class into a package
package scope
the class path
setting the class path
documentation comments
comment insertion
class comments
method comments
field comments
general comments
package and overview comments
comment extraction
class design hints
chapter 5 inheritance(新增批注共42条)
classes, superclasses, and subclasses
inheritance hierarchies
polymorphism
dynamic binding
preventing inheritance: final classes and methods
casting
abstract classes
protected access
object: the cosmic superclass
the equals method
equality testing and inheritance
the hashcode method
the tostring method
generic array lists
accessing array list elements
compatibility between typed and raw array lists
object wrappers and autoboxing
methods with a variable number of parameters
enumeration classes
reflection
the class class
a primer on catching exceptions
using reflection to analyze the capabilities of classes
using reflection to analyze objects at runtime
using reflection to write generic array code
method pointers!
design hints for inheritance
chapter 6 interfaces and inner classes(新增批注共24条)
interfaces
properties of interfaces
interfaces and abstract classes
object cloning
interfaces and callbacks
inner classes
use of an inner class to access object state
special syntax rules for inner classes
are inner classes useful? actually necessary? secure?
local inner classes
accessing final variables from outer methods
anonymous inner classes
static inner classes
proxies
properties of proxy classes
chapter 7 exceptions, logging, assertions, and debugging
(新增批注共38条)
dealing with errors
the classification of exceptions
declaring checked exceptions
how to throw an exception
creating exception classes
catching exceptions
catching multiple exceptions
rethrowing and chaining exceptions
the finally clause
analyzing stack trace elements
tips for using exceptions
using assertions
assertion enabling and disabling
using assertions for parameter checking
using assertions for documenting assumptions
logging
basic logging
advanced logging
changing the log manager configuration
localization
handlers
filters
formatters
a logging recipe
debugging tips
using a console window
tracing awt events
letting the awt robot do the work
using a debugger
chapter 8 generic programming(新增批注共22条)
why generic programming?
who wants to be a generic programmer?
definition of a simple generic class
generic methods
bounds for type variables
generic code and the virtual machine
translating generic expressions
translating generic methods
calling legacy code
restrictions and limitations
type parameters cannot be instantiated with primitive types
runtime type inquiry only works with raw types
you cannot throw or catch instances of a generic class
arrays of parameterized types are not legal
you cannot instantiate type variables
type variables are not valid in static contexts of generic classes
beware of clashes after erasure
inheritance rules for generic types
wildcard types
supertype bounds for wildcards
unbounded wildcards
wildcard capture
reflection and generics
using class[t] parameters for type matching
generic type information in the virtual machine
chapter 9 collections(新增批注共55条)
collection interfaces
separating collection interfaces and implementation
collection and iterator interfaces in the java library
concrete collections
linked lists
array lists
hash sets
tree sets
object comparison
queues and deques
priority queues
maps
specialized set and map classes
the collections framework
views and wrappers
bulk operations
converting between collections and arrays
algorithms
sorting and shuffling
binary search
simple algorithms
writing your own algorithms
legacy collections
the hashtable class
enumerations
property maps
stacks
bit sets
chapter 10 multithreading(新增批注共24条)
what are threads?
using threads to give other tasks a chance
interrupting threads
thread states
new threads
runnable threads
blocked and waiting threads
terminated threads
thread properties
thread priorities
daemon threads
handlers for uncaught exceptions
synchronization
an example of a race condition
the race condition explained
lock objects
condition objects
the synchronized keyword
synchronized blocks
the monitor concept
volatile fields
deadlocks
lock testing and timeouts
read/write locks
why the stop and suspend methods are deprecated
blocking queues
thread-safe collections
efficient maps, sets, and queues
copy on write arrays
older thread-safe collections
callables and futures
executors
thread pools
scheduled execution
controlling groups of tasks
synchronizers
semaphores
countdown latches
barriers
exchangers
synchronous queues
example: pausing and resuming an animation
threads and swing
running time-consuming tasks
using the swing worker
the single-thread rule
index
《Java核心技术·卷Ⅰ:基础知识(第8版)(评注版)》(Core Java)自第1版出版以来,一直备受广大Java程序设计人员的青睐,畅销不衰,是Java经典书籍。第8版针对Java SE 6平台进行了全面更新,囊括了Java平台标准版(Java SE/J2SE)的全部基础知识,提供了大量完整且具有实际意义的应用实例,详细介绍了Java语言基础知识、面向对象程序设计、接口与内部类、事件监听器模型、swing图形用户界面程序设计、打包应用程序、异常处理、登录与调试、泛型程序设计、集合框架、多线程等内容。
本评注版力邀国内资深专家执笔,在英文原著基础上增加了点评和注释,并对原书内容进行了精简,删除了Java图形窗口编程的相关内容,即原书的第7-10章,同时对章节序号进行了相应的调整,从而使本书更集中于Java核心语言。
本评注版的目的旨在以先行者的学研心得与实践感悟,对读者的阅读和学习加以点拨、指明捷径。
《Java核心技术·卷Ⅰ:基础知识(第8版)(评注版)》中示例程序经过精心设计,不但具有实用价值,而且易于阅读理解,可以作为初学者自己编写程序的良好开端,也能够帮助程序员快速地了解Java SE 6的新特性,或迅速从其他语言转向Java语言。
《Java核心技术》(CoreJava)自第1版出版以来,一直备受广大Java程序设计人员的青睐,畅销不衰,是Java经典书籍。第8版针对Java SE6平台进行了全面更新,囊括了Java平台标准版(JavaSE/J2SE)的全部基础知识,提供了大量完整且具有实际意义的应用实例,详细介绍了Java语言基础知识、面向对象程序设计、接口与内部类、事件监听器模型、swing图形用户界面程序设计、打包应用程序、异常处理、登录与调试、泛型程序设计、集合框架、多线程等内容。
本评注版力邀国内资深专家执笔,在英文原著基础上增加了点评和注释,并对原书内容进行了精简,删除了Java图形窗口编程的相关内容,即原书的第7~10章,同时对章节序号进行了相应的调整,从而使本书更集中于Java核心语言。
本评注版的目的旨在以先行者的学研心得与实践感悟,对读者的阅读和学习加以点拨、指明捷径。
书中示例程序经过精心设计,不但具有实用价值,而且易于阅读理解,可以作为初学者自己编写程序的良好开端,也能够帮助程序员快速地了解JavaSE 6的新特性,或迅速从其他语言转向Java语言。
书籍详细信息 | |||
书名 | Java核心技术站内查询相似图书 | ||
丛书名 | 传世经典书丛 | ||
9787121133626 如需购买下载《Java核心技术》pdf扫描版电子书或查询更多相关信息,请直接复制isbn,搜索即可全网搜索该ISBN | |||
出版地 | 北京 | 出版单位 | 电子工业出版社 |
版次 | 1版 | 印次 | 1 |
定价(元) | 80.0 | 语种 | 简体中文 |
尺寸 | 23 × 18 | 装帧 | 平装 |
页数 | 652 | 印数 |
Java核心技术是电子工业出版社于2011.5出版的中图分类号为 TP312 的主题关于 JAVA语言-程序设计 的书籍。
(美) 昊斯特曼 (Horstmann,C.S.) , 著
(美) 昊斯特曼 (Horstmann,C.S.) , 科内尔 (Cornell,G.) , 著
(美) 霍斯特曼 (Horstmann,C.S.) 等, 著
(美) 霍斯特曼 (Horstmann,C.S.) , (美) 科奈尔 (Cornell,G.) , 著
(美) 霍斯特曼 (Horstmann,C.S.) , (美) 康奈尔 (Cornell,G.) , 著
(美) 霍斯特曼 (Horstmann,C.S.) , (美) 科耐尔 (Cornell,G.) , 著
马志强, 张然, 李雷孝, 编著
(美) 霍斯特曼 (Horstmann,C.S) , (美) 康奈尔 (Cornell,G.) , 著
(美) 霍斯特曼 (Horstmann,C.S.) , (美) 格瑞克纳 (Cornell,G.) , 著