Book description
The latest edition of Java in a Nutshell is designed to help experienced Java programmers get the most out of Java 7 and 8, but it’s also a learning path for new developers. Chock full of examples that demonstrate how to take complete advantage of modern Java APIs and development best practices, the first section of this thoroughly updated book provides a fast-paced, no-fluff introduction to the Java programming language and the core runtime aspects of the Java platform.
The second section is a reference to core concepts and APIs that shows you how to perform real programming work in the Java environment.
- Get up to speed on language details, including Java 8 changes
- Learn object-oriented programming, using basic Java syntax
- Explore generics, enumerations, annotations, and lambda expressions
- Understand basic techniques used in object-oriented design
- Examine concurrency and memory, and how they’re intertwined
- Work with Java collections and handle common data formats
- Delve into Java’s latest I/O APIs, including asynchronous channels
- Use Nashorn to execute JavaScript on the Java Virtual Machine
- Become familiar with development tools in OpenJDK
Publisher resources
Table of contents
- Foreword
- Preface
- I. Introducing Java
- 1. Introduction to the Java Environment
-
2. Java Syntax from the Ground Up
- Java Programs from the Top Down
- Lexical Structure
- Primitive Data Types
- Expressions and Operators
-
Statements
- Expression Statements
- Compound Statements
- The Empty Statement
- Labeled Statements
- Local Variable Declaration Statements
- The if/else Statement
- The switch Statement
- The while Statement
- The do Statement
- The for Statement
- The foreach Statement
- The break Statement
- The continue Statement
- The return Statement
- The synchronized Statement
- The throw Statement
- The try/catch/finally Statement
- The try-with-resources Statement
- The assert Statement
- Methods
- Introduction to Classes and Objects
- Arrays
- Reference Types
- Packages and the Java Namespace
- Java File Structure
- Defining and Running Java Programs
- Summary
- 3. Object-Oriented Programming in Java
- 4. The Java Type System
- 5. Introduction to Object-Oriented Design in Java
- 6. Java’s Approach to Memory and Concurrency
- II. Working with the Java Platform
- 7. Programming and Documentation Conventions
- 8. Working with Java Collections
- 9. Handling Common Data Formats
- 10. File Handling and I/O
- 11. Classloading, Reflection, and Method Handles
- 12. Nashorn
- 13. Platform Tools and Profiles
- Index
Product information
- Title: Java in a Nutshell, 6th Edition
- Author(s):
- Release date: October 2014
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449371326
You might also like
book
Java in a Nutshell, 5th Edition
With more than 700,000 copies sold to date, Java in a Nutshell from O'Reilly is clearly …
book
Java in a Nutshell, 8th Edition
This updated edition of the Nutshell guide not only helps experienced Java programmers get the most …
book
Java in a Nutshell, 7th Edition
This updated edition of Java in a Nutshell not only helps experienced Java programmers get the …
book
Learning Java, 6th Edition
Ideal for working programmers new to Java, this best-selling book guides you through the language features …