Java2核心技术卷I:基础知识(第7版 英文版)

Java2核心技术卷I:基础知识(第7版 英文版)
作 者: 霍斯特曼 康奈尔
出版社: 人民邮电出版社
丛编项:
版权说明: 本书为公共版权或经版权方授权,请支持正版图书
标 签: Java 2
ISBN 出版时间 包装 开本 页数 字数
未知 暂无 暂无 未知 0 暂无

作者简介

暂缺《Java2核心技术卷I:基础知识(第7版 英文版)》作者简介

内容简介

本书是Java技术经典参考书,多年畅销不衰。第7版在保留以前版本风格的基础上,涵盖Java 2开发平台标准版J2SE 5.0的基础知识,主要内容包括面向对象程序设计、反射与代理、接口与内部类、事件监听器模型、使用Swing UI工具箱进行图形用户界面设计、异常处理、流输入/输出和对象序列化、泛型程序设计等。本书涵盖了Java 2平台标准版(J2SE)的全部基础知识。作为一本精练的技术指南和值得信赖的参考书籍,本书的突出特色是提供了大量的实际案例。其中,重要的语言和库功能都通过简洁且恰如其分的示例程序来阐述。最重要的是,所有程序都已经被升级为J2SE 5.0,它们将成为程序员独立编写代码的良好开端。本书主要面向希望编写实际代码以解决实际问题的程序员。本书内容翔实、深入浅出,附有大量程序实例,极具实用价值,是Java初学者和Java程序员的必备参考书。

图书目录

Contents

Chapter 1

An Introduction to Java

Java as Programming Platform

The Java “White Paper”Buzzwords

Java and the Internet

A Short History of Java

Common Misconceptions About Java

Chapter 2

The Java Programming Environment

Installing the Java Deveioment Kit

Choosing a Development Environment

Using the Command-Line

Using an Integrated Development Environment

Compiling and Running Programs from a Text Editor

Running a Graphical Application

Building and Running Applets

Chapter 3

Fundamental Programming Structures in Java

A Simple Java Program

Comments

Data Types

Variables

Operators

Strings

Input and Output

Control Flow

Big Numbers

Arrays

Chajpter 4

Objects and Classes

Introduction to Object-Oriented Programming

Using Predefined Classes

Defining Your Own Classes

Static Fields and Methods

Method Parameters

Object Construction

Packages

Documentation Comments

Class Design Hints

Chater 5

Inheritance

Classes,Superclasses,and Subclasses

Object:The Cosmic Superclass

Generic Array Lists

Object Wrappers and Autoboxing

Reflection

Enumeration Classes

Design Hints for Inheritance

Chapter 6

Interfaces and Inner Classes

Interfaces

Object Cloning

Interfaces and Callbacks

Inner Classes

Proxies

Chapter 7

Graphics Programming

Introducing Swing

Creating a Frame

Positioning a Frame

Displaying Information in a Panel

Working with 2D Shapes

Using Color

Using Special Fonts for Text

Doing More with Images

Chapter 8

Event Handling

Basics of Event Handling

The AWT Event Hierarchy

Semantic and Low-Level Events in the AWT

Low-Level Event Types

Actions

Multicasting

Implementing Event Sources

Chapter 9

User Interface Components with Swing

The Model-View-Controller Design Pattern

Introduction to Layout Management

Text Input

Choice Components

Menus

Sophisticated Layout Management

Dialog Boxes

Chapter 10

Deploying Applets and Applications

Applet Basics

The Applet HTML Tags and Atributes

Multimedia

The Applet Context

JAR Files

Application Packaging

Java Web Start

Storage of Application references

Chapter 11

Exceptions and Debugging

Dealing with Errors

Catching Exceptions

Tips for Using Exceptions

Logging

Using Assertions

Debugging Techniques

Using a Debugger

Chapter 12

Streams and Files

Streams

The Complete Stream Zoo

ZIP File Streams

Use of Streams

Object Streams

File Management

New I/O

Regular Expressions

Chapter 13

Generic Programming

Why Generic Programming?

Definition of a Simple Generic Class

Generic Methods

Bounds for Type Variables

Generic Code and the Virtual Machine

Restrictions and Limitations

Inheritance Rules for Generic Types

Wildcard Types

Reflection and Generics

Appendix A

Java Keywords

Appendix B

Retrofitting JDK5.0 Code

Enhanced for Loop

Generic Array Lists

Variable Parameter Lists

Covariant Return Types

Static Import

Console Input

Formatted Output

Unicode Code Points

Building Strings

Index