Book description
Written by the inventors of the technology, The Java®Language Specification, Java SE 7 Edition, is the definitive technical reference for the Java programming language. The book provides complete, accurate, and detailed coverage of the Java programming language. It fully describes the new features added in Java SE 7, including the try-with-resources statement, multi-catch, precise rethrow, “diamond” syntax, strings-in-switch, and binary literals. The book also includes many explanatory notes, and carefully distinguishes the formal rules of the language from the practical behavior of compilers.
Table of contents
- Title Page
- Copyright Page
- Table of Contents
- Preface to the Java SE 7 Edition
- Preface to the Third Edition
- Preface to the Second Edition
- Preface to the First Edition
- Chapter 1. Introduction
- Chapter 2. Grammars
- Chapter 3. Lexical Structure
- Chapter 4. Types, Values, and Variables
- Chapter 5. Conversions and Promotions
- Chapter 6. Names
- Chapter 7. Packages
- Chapter 8. Classes
- Chapter 9. Interfaces
- Chapter 10. Arrays
- Chapter 11. Exceptions
- Chapter 12. Execution
- Chapter 13. Binary Compatibility
-
Chapter 14. Blocks and Statements
- 14.1. Normal and Abrupt Completion of Statements
- 14.2. Blocks
- 14.3. Local Class Declarations
- 14.4. Local Variable Declaration Statements
- 14.5. Statements
- 14.6. The Empty Statement
- 14.7. Labeled Statements
- 14.8. Expression Statements
- 14.9. The if Statement
- 14.10. The assert Statement
- 14.11. The switch Statement
- 14.12. The while Statement
- 14.13. The do Statement
- 14.14. The for Statement
- 14.15. The break Statement
- 14.16. The continue Statement
- 14.17. The return Statement
- 14.18. The throw Statement
- 14.19. The synchronized Statement
- 14.20. The try statement
- 14.21. Unreachable Statements
-
Chapter 15. Expressions
- 15.1. Evaluation, Denotation, and Result
- 15.2. Variables as Values
- 15.3. Type of an Expression
- 15.4. FP-strict Expressions
- 15.5. Expressions and Run-Time Checks
- 15.6. Normal and Abrupt Completion of Evaluation
- 15.7. Evaluation Order
- 15.8. Primary Expressions
- 15.9. Class Instance Creation Expressions
- 15.10. Array Creation Expressions
- 15.11. Field Access Expressions
- 15.12. Method Invocation Expressions
- 15.13. Array Access Expressions
- 15.14. Postfix Expressions
- 15.15. Unary Operators
- 15.16. Cast Expressions
- 15.17. Multiplicative Operators
- 15.18. Additive Operators
- 15.19. Shift Operators
- 15.20. Relational Operators
- 15.21. Equality Operators
- 15.22. Bitwise and Logical Operators
- 15.23. Conditional-And Operator &&
- 15.24. Conditional-Or Operator ||
- 15.25. Conditional Operator ? :
- 15.26. Assignment Operators
- 15.27. Expression
- 15.28. Constant Expressions
-
Chapter 16. Definite Assignment
- 16.1. Definite Assignment and Expressions
- 16.2. Definite Assignment and Statements
- 16.3. Definite Assignment and Parameters
- 16.4. Definite Assignment and Array Initializers
- 16.5. Definite Assignment and Enum Constants
- 16.6. Definite Assignment and Anonymous Classes
- 16.7. Definite Assignment and Member Types
- 16.8. Definite Assignment and Static Initializers
- 16.9. Definite Assignment, Constructors, and Instance Initializers
- Chapter 17. Threads and Locks
- Chapter 18. Syntax
- Index
- Appendix A. Limited License Grant
Product information
- Title: The Java® Language Specification, Java SE 7 Edition, Fourth Edition
- Author(s):
- Release date: February 2013
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780133260335
You might also like
book
Programming GPS and OpenStreetMap Applications with Java
This book provides a concrete paradigm for object-oriented modeling and programming. It introduces the use of …
book
Java 9 High Performance
Best practices to adapt and bottlenecks to avoid About This Book Tackle all kinds of performance-related …
book
SamsTeachYourself PHP, MySQL & JavaScript: All in One, 6th Edition
In just a short time, you can learn how to use PHP, MySQL, and JavaScript together …
book
Concurrent Programming on Windows
“When you begin using multi-threading throughout an application, the importance of clean architecture and design is …