|
Java Language Specification~Sun com~300p
|
4 Types, Values, and Variables
4.1 The Kinds of Types and Values
4.2 Primitive Types and Values
4.2.1 Integral Types and Values
4.2.2 Integer Operations
4.2.3 Floating-Point Types, Formats, and Values
4.2.4 Floating-Point Operations
4.2.5 The boolean Type and boolean Values
4.3 Reference Types and Values
4.3.1 Objects
4.3.2 The Class Object
4.3.3 The Class String
4.3.4 When Reference Types Are the Same
4.4 Where Types Are Used
4.5 Variables
4.5.1 Variables of Primitive Type
4.5.2 Variables of Reference Type
4.5.3 Kinds of Variables
4.5.4 final Variables
4.5.5 Initial Values of Variables
4.5.6 Types, Classes, and Interfaces
5 Conversions and Promotions
5.1 Kinds of Conversion
5.1.1 Identity Conversions
5.1.2 Widening Primitive Conversion
5.1.3 Narrowing Primitive Conversions
5.1.4 Widening Reference Conversions
5.1.5 Narrowing Reference Conversions
5.1.6 String Conversions
5.1.7 Forbidden Conversions
5.1.8 Value Set Conversion
5.2 Assignment Conversion
5.3 Method Invocation Conversion
5.4 String Conversion
5.5 Casting Conversion
5.6 Numeric Promotions
5.6.1 Unary Numeric Promotion
5.6.2 Binary Numeric Promotion
Free Java Book
|
|