出版时间:2011-6 出版社:电子工业出版社 作者:Cay S. Horstmann,Gary Cornell 页数:619 译者:公飞
Tag标签:无
内容概要
《Java核心技术》(Core
Java)自第1版出版以来,一直备受广大Java程序设计人员的青睐,畅销不衰,是Java经典书籍。第8版针对Java SE
6平台进行了全面更新,囊括了Java
2平台、标准版(J2SE)的全部基础知识,提供了大量完整且具有实际意义的应用实例,详细介绍了Java语言基础知识、面向对象程序设计、接口与内部类、事件监听器模型、swing图形用户界面程序设计、打包应用程序、异常处理、登录与调试、泛型程序设计、集合框架、多线程等内容。
作者简介
作者:(美)Horstmann
书籍目录
Preface XVIII
Acknowledgements XXIV
Chapter 1 An Introduction to Java(新增批注共25条) 1
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条) 21
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条) 63
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条) 139
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 185
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条) 213
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 Arr
编辑推荐
要想成为武林高手,如果没有基本功和内功作为基础,任何套路招数都将成为浮云。而且一旦练就了扎实的基本功和内功,任何套路招数都可一点即通。Cay S.Horstmann等编著,公飞编译的《Java核心技术》正是成为Java高手、练就基本功和内功的经典之作。其一,本书专注于Java语言核心(即Core Java),这是最基本和最关键之处,可称为Java基本功和内功的精髓;其二,本书内容由浅入深,介绍全面、细致、准确,语言风格朴实易懂。对初学者来说,可以轻松阅读本书,并深入理解和掌握Java。对于已初步掌握Java语言的读者来说,则可以通过本书的学习提升自己的握Java功底。
图书封面
图书标签Tags
无
评论、评分、阅读与下载