Java 2 v5.0 (Tiger) New Features (Paperback)
暫譯: Java 2 v5.0 (Tiger) 新特性 (平裝本)

Herbert Schildt

  • 出版商: McGraw-Hill Education
  • 出版日期: 2004-07-29
  • 定價: $750
  • 售價: 1.3$99
  • 語言: 英文
  • 頁數: 216
  • 裝訂: Paperback
  • ISBN: 0072258543
  • ISBN-13: 9780072258547
  • 相關分類: Java 程式語言
  • 立即出貨(限量) (庫存=1)

買這商品的人也買了...

商品描述

Description:

Unleash the Programming Power of Tiger

If you already know Java and want to utilize the impressive array of innovations contained in Java 2, v1.5, this book is for you. Codenamed Tiger, Java 2 Platform, Standard Edition v5.0 (J2SE™ 5.0) is Java’s most extensive upgrade yet. Its many new features fundamentally alter the way Java code is written. For example, generics add a completely new syntax that enables the creation of type-safe, reusable code, and autoboxing simplifies the interplay between primitive types and objects. Moreover, all the new features work together to enable you to write more reliable code. By covering only what’s new in Tiger, this fast-paced guide gets you up to speed quickly, without rehashing what you already know. The world of Java is changing. Let best-selling author Herb Schildt show you how to move your programming skills to Java 2, v5.0 today.

Inside, you’ll:

  • Apply the power of generics to create type-safe, resuable code
  • Streamline code with autoboxing and auto-unboxing
  • Use the enhanced for loop to cycle through collections and arrays
  • Create more flexible methods through the use of varargs (variable-length arguments)
  • See how Java’s class-based approach to enumerations fundamentally increases their power
  • Embed supplemental annotations (metadata) into a source file
  • Import static members of a class or interface and then refer to them directly by name, without a class qualification
  • Create formatted output and read formatted input with Formatter and Scanner classes
  • Learn about the major changes to the Java API

    Herbert Schildt is a leading authority on Java, C, C++, and C#. His programming books have sold more than 3 million copies worldwide and have been translated into all major foreign languages.

 

 

Table of Contents:

1 The Tiger Is Loose

2 Autoboxing and Auto-Unboxing

3 Generics

4 The For-Each Version of the for Loop

5 Varargs: Variable-Length Arguments

6 Enumerations

7 Metadata

8 Static Import

9 Formatted I/O

10 Changes to the API

 

商品描述(中文翻譯)

**描述:**
釋放 Tiger 的程式設計力量
如果您已經了解 Java,並希望利用 Java 2, v1.5 中令人印象深刻的創新,本書就是為您而寫。代號 Tiger 的 Java 2 平台,標準版 v5.0 (J2SE™ 5.0) 是 Java 迄今為止最全面的升級。其許多新功能根本改變了 Java 代碼的編寫方式。例如,泛型 (generics) 增加了一種全新的語法,使得創建類型安全、可重用的代碼成為可能,而自動裝箱 (autoboxing) 簡化了基本類型與物件之間的互動。此外,所有新功能協同工作,使您能夠編寫更可靠的代碼。這本快速入門指南僅涵蓋 Tiger 中的新內容,讓您迅速掌握,而不必重複您已經知道的知識。Java 的世界正在改變。讓暢銷書作者 Herb Schildt 向您展示如何將您的程式設計技能提升到 Java 2, v5.0。

在書中,您將會:
- 應用泛型的力量來創建類型安全、可重用的代碼
- 使用自動裝箱和自動拆箱來簡化代碼
- 使用增強的 for 迴圈來遍歷集合和數組
- 通過使用可變長度參數 (varargs) 創建更靈活的方法
- 了解 Java 的類別基礎方法如何根本上增強列舉的功能
- 將補充註解 (metadata) 嵌入到源文件中
- 導入類別或介面的靜態成員,然後直接通過名稱引用它們,而無需類別限定
- 使用 Formatter 和 Scanner 類創建格式化輸出和讀取格式化輸入
- 了解 Java API 的主要變更

Herbert Schildt 是 Java、C、C++ 和 C# 的權威。他的程式設計書籍在全球銷售超過 300 萬本,並已翻譯成所有主要外語。

**目錄:**
1 Tiger 釋放
2 自動裝箱與自動拆箱
3 泛型
4 for 迴圈的 for-each 版本
5 可變長度參數 (Varargs)
6 列舉
7 元數據
8 靜態導入
9 格式化輸入/輸出
10 API 的變更

最後瀏覽商品 (17)