出版時間:2011-6 出版社:電子工業(yè)出版社 作者:Cay S. Horstmann,Gary Cornell 頁數(shù):619 譯者:公飛
Tag標簽:無
內容概要
《Java核心技術》(Core
Java)自第1版出版以來,一直備受廣大Java程序設計人員的青睞,暢銷不衰,是Java經典書籍。第8版針對Java SE
6平臺進行了全面更新,囊括了Java
2平臺、標準版(J2SE)的全部基礎知識,提供了大量完整且具有實際意義的應用實例,詳細介紹了Java語言基礎知識、面向對象程序設計、接口與內部類、事件監(jiān)聽器模型、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
?。ㄐ略雠⒐?0條) 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
?。ㄐ略雠⒐?4條) 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
編輯推薦
要想成為武林高手,如果沒有基本功和內功作為基礎,任何套路招數(shù)都將成為浮云。而且一旦練就了扎實的基本功和內功,任何套路招數(shù)都可一點即通。Cay S.Horstmann等編著,公飛編譯的《Java核心技術》正是成為Java高手、練就基本功和內功的經典之作。其一,本書專注于Java語言核心(即Core Java),這是最基本和最關鍵之處,可稱為Java基本功和內功的精髓;其二,本書內容由淺入深,介紹全面、細致、準確,語言風格樸實易懂。對初學者來說,可以輕松閱讀本書,并深入理解和掌握Java。對于已初步掌握Java語言的讀者來說,則可以通過本書的學習提升自己的握Java功底。
圖書封面
圖書標簽Tags
無
評論、評分、閱讀與下載