Cargando…

Java in a Nutshell : a desktop quick reference /

This updated edition of the Nutshell guide not only helps experienced Java programmers get the most out of versions through Java 17, it also serves as a learning path for new developers. Chock-full of examples that demonstrate how to take complete advantage of modern Java APIs and development best p...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autores principales: Evans, Benjamin J. (Autor), Clark, Jason (Autor), Flanagan, David (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Sebastopol, CA : O'Reilly Media, 2023.
Edición:8th edition.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • Intro
  • Copyright
  • Table of Contents
  • Foreword
  • Preface
  • Changes in the Eighth Edition
  • Contents of This Book
  • Related Books
  • Conventions Used in This Book
  • Using Code Examples
  • O'Reilly Online Learning
  • How to Contact Us
  • Acknowledgments
  • Part I. Introducing Java
  • Chapter 1. Introduction to the Java Environment
  • The Language, the JVM, and the Ecosystem
  • What Is the Java Language?
  • What Is the JVM?
  • What Is the Java Ecosystem?
  • The Lifecycle of a Java Program
  • Frequently Asked Questions
  • Comparing Java to Other Languages
  • Java Compared to JavaScript
  • Java Compared to Python
  • Java Compared to C
  • Java Compared to C++
  • Answering Some Criticisms of Java
  • Overly Verbose
  • Slow to Change
  • Performance Problems
  • Insecure
  • Too Corporate
  • A Brief History of Java and the JVM
  • Summary
  • Chapter 2. Java Syntax from the Ground Up
  • Java Programs from the Top Down
  • Lexical Structure
  • The Unicode Character Set
  • Case Sensitivity and Whitespace
  • Comments
  • Reserved Words
  • Identifiers
  • Literals
  • Punctuation
  • Primitive Data Types
  • The boolean Type
  • The char Type
  • Integer Types
  • Floating-Point Types
  • Primitive Type Conversions
  • Expressions and Operators
  • Operator Summary
  • Arithmetic Operators
  • String Concatenation Operator
  • Increment and Decrement Operators
  • Comparison Operators
  • Boolean Operators
  • Bitwise and Shift Operators
  • Assignment Operators
  • The Conditional Operator
  • The instanceof Operator
  • Special Operators
  • Statements
  • Expression Statements
  • Compound Statements
  • The Empty Statement
  • Labeled Statements
  • Local Variable Declaration Statements
  • The if/else Statement
  • The switch Statement
  • The switch Expression
  • 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
  • Defining Methods
  • Method Modifiers
  • Checked and Unchecked Exceptions
  • Variable-Length Argument Lists
  • Introduction to Classes and Objects
  • Defining a Class
  • Creating an Object
  • Using an Object
  • Object Literals
  • Lambda Expressions
  • Arrays
  • Array Types
  • Creating and Initializing Arrays
  • Using Arrays
  • Multidimensional Arrays
  • Reference Types
  • Reference Versus Primitive Types
  • Manipulating Objects and Reference Copies
  • Comparing Objects
  • Boxing and Unboxing Conversions
  • Packages and the Java Namespace
  • Package Declaration
  • Globally Unique Package Names
  • Importing Types
  • Importing Static Members
  • Java Source File Structure
  • Defining and Running Java Programs
  • Summary
  • Chapter 3. Object-Oriented Programming in Java
  • Overview of Classes and Records
  • Basic OO Definitions
  • Records
  • Other Reference Types