Book description
Written by the inventors of the technology, The Java® Language Specification, Java SE 8 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 8, including lambda expressions, method references, default methods, type annotations, and repeating annotations. 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
- About This eBook
- Title Page
- Copyright Page
- Dedication Page
- Table of Contents
- Preface to the Java SE 8 Edition
- Chapter 1. Introduction
- Chapter 2. Grammars
- Chapter 3. Lexical Structure
- Chapter 4. Types, Values, and Variables
- Chapter 5. Conversions and Contexts
- 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 Forms of Expressions
- 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 and Access Expressions
- 15.11 Field Access Expressions
- 15.12 Method Invocation Expressions
- 15.13 Method Reference 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 Lambda Expressions
- 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. Type Inference
- Chapter 19. Syntax
- Index
- Appendix A. Limited License Grant
Product information
- Title: The Java® Language Specification, Java SE 8 Edition
- Author(s):
- Release date: May 2014
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780133900767
You might also like
book
The Java® Virtual Machine Specification, Java SE 8 Edition
Written by the inventors of the technology, The Java is the definitive technical reference for the …
book
The Well-Grounded Java Developer, Second Edition
Understanding Java from the JVM up gives you a solid foundation to grow your expertise and …
book
Java 8 in Action
Java 8 in Action is a clearly written guide to the new features of Java 8. …
book
OCA / OCP Java SE 8 Programmer Practice Tests
Test your knowledge and prepare for the OCA/OCP exams OCA/OCP Java SE 8 Programmer Practice Tests …