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, 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.
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: 9781449370824
You might also like
book
Software Engineering at Google
Today, software engineers need to know not only how to program effectively but also how to …
book
Head First Design Patterns, 2nd Edition
You know you don’t want to reinvent the wheel, so you look to design patterns—the lessons …
book
Fluent Python, 2nd Edition
Python’s simplicity lets you become productive quickly, but often this means you aren’t using everything it …
book
Java Coding Problems
Develop your coding skills by exploring Java concepts and techniques such as Strings, Objects and Types, …