Skip to main content
  • Book
  • © 2022

Java 17 Quick Syntax Reference

A Pocket Guide to the Java SE Language, APIs, and Library

Apress

Authors:

  • Quickly learn and master latest Java SE code syntax, APIs and more

  • Learn to code with Match Expressions and the new Java Flight Recorder

  • Utilize condensed code examples to resolve your own coding challenges

Buy it now

Buying options

eBook USD 34.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 44.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (24 chapters)

  1. Front Matter

    Pages i-xvi
  2. Hello World

    • Mikael Olsson
    Pages 1-4
  3. Compile and Run

    • Mikael Olsson
    Pages 5-7
  4. Variables

    • Mikael Olsson
    Pages 9-14
  5. Operators

    • Mikael Olsson
    Pages 15-19
  6. String

    • Mikael Olsson
    Pages 21-25
  7. Arrays

    • Mikael Olsson
    Pages 27-30
  8. Conditionals

    • Mikael Olsson
    Pages 31-35
  9. Loops

    • Mikael Olsson
    Pages 37-40
  10. Methods

    • Mikael Olsson
    Pages 41-45
  11. Class

    • Mikael Olsson
    Pages 47-54
  12. Static

    • Mikael Olsson
    Pages 55-58
  13. Inheritance

    • Mikael Olsson
    Pages 59-63
  14. Overriding

    • Mikael Olsson
    Pages 65-69
  15. Packages and Import

    • Mikael Olsson
    Pages 71-73
  16. Modules

    • Mikael Olsson
    Pages 75-77
  17. Access Levels

    • Mikael Olsson
    Pages 79-84
  18. Constants

    • Mikael Olsson
    Pages 85-87
  19. Interface

    • Mikael Olsson
    Pages 89-95
  20. Abstract

    • Mikael Olsson
    Pages 97-99

About this book

Quickly gain the insight necessary to address a multitude of Java coding challenges using this succinct reference guide, Java 17 Quick Syntax Reference, Third Edition. Short, focused code examples will help you learn and master various existing and new Java source code elements.  

This edition includes the following additions to Java SE and OpenJDK, through Java 17: Pattern matching for switch and instanceof, Sealed classes and interfaces, Switch expressions, Text block multiline strings, Java module system, Private methods in interfaces, and Type inference for local variables.

You won’t find any technical jargon, bloated samples, drawn out history lessons or witty stories in this book. What you will find is a language reference that is concise, to the point and highly accessible. The book is packed with useful information and is a must-have for any Java programmer.

What You Will Learn

  • Run a Java file with a single command
  • Learn what a switch expression is and how to use it
  • Use pattern matching
  • Code with Java modules
  • Create text blocks to handle multiline strings
  • Learn what sealed classes are and how to use these and more
Who This Book Is For



Those with prior experience with Java who want a quick and handy reference. 

Authors and Affiliations

  • Hammarland, Finland

    Mikael Olsson

About the author

Mikael Olsson is a professional web entrepreneur, programmer, and author. He works for an R&D company in Finland where he specializes in software development. In his spare time he writes books and creates websites that summarize various fields of interest. The books he writes are focused on teaching their subject in the most efficient way possible, by explaining only what is relevant and practical without any unnecessary repetition or theory.

Bibliographic Information

Buy it now

Buying options

eBook USD 34.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 44.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access