Java 2 v5.0 (Tiger) New Features (Paperback)

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