王朝网络
分享
 
 
 

Java核心技术卷1:基础知识(第8版英文版)

王朝导购·作者佚名
 
Java核心技术卷1:基础知识(第8版英文版)  点此进入淘宝搜索页搜索
  特别声明:本站仅为商品信息简介,并不出售商品,您可点击文中链接进入淘宝网搜索页搜索该商品,有任何问题请与具体淘宝商家联系。
  参考价格: 点此进入淘宝搜索页搜索
  分类: 图书,计算机与互联网,程序语言与软件开发,语言与开发工具,Java,初级教程,
  品牌: 霍斯特曼

基本信息·出版社:人民邮电出版社

·页码:836 页

·出版日期:2008年

·ISBN:7115188335/9787115188335

·条形码:9787115188335

·包装版本:8版

·装帧:平装

·开本:16

·正文语种:英语

产品信息有问题吗?请帮我们更新产品信息。

内容简介《Java核心技术卷1:基础知识》(第8版英文版)第1版出版以来,一直备受广大Java程序设计人员的青睐,畅销不衰,是Java经典书籍。第8版针对Java SE 6平台进行了全面更新,囊括了Java 2平台、标准版(J2SE)的全部基础知识,提供了大量完整且具有实际意义的应用实例,详细介绍了Java语言基础知识、面向对象程序设计、接口与内部类、事件监听器模型、Swing图形用户界面程序设计、打包应用程序、异常处理、登录与调试、泛型程序设计、集合框架、多线程等内容。《Java核心技术卷1:基础知识》(第8版英文版)示例程序经过精心设计,不但具有实用价值,而且易于阅读理解,可以作为初学者自己编写程序的良好开端,也能够帮助程序员快速地了解Java SE 6的新特性,或迅速从其他语言转向Java语言。

编辑推荐《Java核心技术卷1:基础知识》(第8版英文版)是Java实际项目应用的权威指导书

Cav S.Horstmann是圣何塞州立大学计算机科学系教授、Java的倡导者。

Garv Cornell拥有20余年程序设计专业课程教学经验,撰写过多本专著,曾获得Jolt大奖提名。

《Java核心技术卷1:基础知识》(第8版英文版)针对Java SE 6平台进行了全面更新,并通过大量经过测试的示例说明了最重要的语言特性和类库特性。这些示例程序经过精心设计,不但具有实用价值,而且易阅读和理解,可以作为读者自己编写程序的良好开端。本卷详细介绍以下内容:

Java语言基础知识;

Swing图形用户界面程序设计;

泛型程序设计;

面向对象程序设计;

打包应用程序;

集合框架;

接口与内部类;

异常处理;

多线程。

事件监听器模型;

登录与调试;

有关XML处理、网络、数据库、本地方法、安全、高级AWT/Swing和其他高级特性请参阅《Java核心技术卷II:高级特性(英文版)(第8版))》。

目录

1 AN INTRODUCTION TO JAVA

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

2 THE JAVA PROGRAMMING ENVIRONMENT

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

3 FUNDAMENTAL PROGRAMMING STRUCTURES IN JAVA

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

4 OBJECTS AND CLASSES

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

5 INHERITANCE

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

6 INTERFACES AND INNER CLASSES

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

7 GRAPHICS PROGRAMMING

Introducing Swing

Creating a Frame

Positioning a Frame

Frame Properties

Determining a Good Frame Size

Displaying Information in a Component

Working with 2D Shapes

Using Color

Using Special Fonts for Text

Displaying Images

8 EVENT HANDLING

Basics of Event Handling

Example: Handling a Button Click

Becoming Comfortable with Inner Classes

Creating Listeners Containing a Single Method Call

Example: Changing the Look and Feel

Adapter Classes

Actions

Mouse Events

The AWT Event Hierarchy

Semantic and Low-Level Events

9 USER INTERFACE COMPONENTS WITH SWING

Swing and the Model-View-Controller Design Pattern

Design Patterns

The Model-View-Controller Pattern

A Model-View-Controller Analysis of Swing Buttons

Introduction to Layout Management

Border Layout

Grid Layout

Text Input

Text Fields

Labels and Labeling Components

Password Fields

Text Areas

Scroll Panes

Choice Components

Checkboxes

Radio Buttons

Borders

Combo Boxes

Sliders

Menus

Menu Building

Icons in Menu Items

Checkbox and Radio Button Menu Items

Pop-Up Menus

Keyboard Mnemonics and Accelerators

Enabling and Disabling Menu Items

Toolbars

Tooltips

Sophisticated Layout Management

The Grid Bag Layout

Group Layout

Using No Layout Manager

Custom Layout Managers

Traversal Order

Dialog Boxes

Option Dialogs

Creating Dialogs

Data Exchange

File Dialogs

Color Choosers

10 DEPLOYING APPLICATIONS AND APPLETS

JAR Files

The Manifest

Executable JAR Files

Resources

Sealing

Java Web Start

The Sandbox

Signed Code

The JNLP API

Applets

A Simple Applet

The Applet HTML Tag and Its Attributes

The object Tag

Use of Parameters to Pass Information to Applets

Accessing Image and Audio Files

The Applet Context

Storage of Application Preferences

Property Maps

The Preferences API

11 EXCEPTIONS, LOGGING, ASSERTIONS, AND DEBUGGING

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

12 GENERIC PROGRAMMING

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 ClassParameters for Type Matching

Generic Type Information in the Virtual Machine

13 COLLECTIONS

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

14 MULTITHREADING

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

Appendix

Index

……[看更多目录]

序言1995年底,Java语言在Intemet舞台上一亮相便名声大噪。其原因在于它将有望成为通过信息将用户联系起来的“万能胶”,而不论这些信息来自于Web服务器、数据库、信息提供商,还是任何其他渠道。事实上,就发展前景而言,Java的地位是独一无二的。它是一种完全可以信赖的程序设计语言,得到了除微软之外所有厂家的认可。其固有的可靠性与安全性不仅令Java程序员放心,也令使用Java程序的用户放心。Java内建了对网络编程、数据库连接、多线程等高级程序设计任务的支持。

1995年以来,SUN MicroSystems公司已经发布了Java开发工具箱(Java Development Kit)的7个主要版本。在过去的11年中,应用程序接口(API)已经从200个类扩展到3000个类,并覆盖了用户界面构建、数据库管理、国际化、安全性以及XML处理等各个不同的领域。

本书是《Java核心技术》第8版的卷I。自《Java核心技术》出版以来,每个新版本都尽可能快地跟上Java开发工具箱发展的步伐,并重新改写部分内容,以适应Java的最新特性。在这一版中,已经反映了Java标准版(Java SE 6)的特性。

与前几版一样,本版仍然将读者群定位在那些打算将Java应用到实际工程项目中的程序设计人员。本书假设读者是一名具有程序设计语言(除Java之外)坚实背景知识的程序设计人员,并且不希望书中充斥着玩具式的示例(诸如烤面包机、动物园的动物或神经质的跳动文本)。这些内容绝对不会在本书中出现。本书的目标是让读者充分地理解书中介绍的Java语言及Java类库的相关特性,而不会产生任何误解。

在本书中,我们选用大量的示例代码演示所讨论的每一个语言特性和类库特性。我们有意使用简单的示例程序以突出重点,然而,其中的大部分既不是赝品也没有偷工减料。它们将成为读者自己编写代码的良好开端。

文摘插图:

Java核心技术卷1:基础知识(第8版英文版)

 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
>>返回首页<<
推荐阅读
 
 
频道精选
 
更多商品
电信大客户营销(电信营销系列丛书)
液晶显示器维修标准教程
Photoshop图层应用专家技法
Xilinx ISE Design Suite10.x FPGA开发指南:DSP、嵌入式与高速传输(Xilinx大学合作计划指定教材)(附DVD光盘一张)
PhotoshopCS3数码摄影后期创作技法(附盘)(附DVD光盘一张)
笔记本电脑维修范例大全(附盘)(芯片级维修工程师系列)(附DVD光盘一张)
显示器维修范例大全(附盘)(芯片级维修工程师系列)(附DVD光盘一张)
Xilinx ISE Design Suite10.x FPGA开发指南:逻辑设计篇(附盘)(Xilinx大学合作计划指定教材)(附DVD光盘一张)
PhotoshopCS3印象通道与图像合成专业技法(附盘)(附DVD光盘一张)
时事汇编及命题热点全攻略(2009新大纲)
 
静静地坐在废墟上,四周的荒凉一望无际,忽然觉得,凄凉也很美
© 2005- 王朝网络 版权所有