A Pocket Guide to the Java SE Language
Mikael Olsson
Java17#
Java#
_SE#
OpenJDK#
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
Who This Book Is For
Those with prior experience with Java who want a quick and handy reference.
Table of Contents
Chapter 1: Hello World
Chapter 2: Compile and Run
Chapter 3: Variables
Chapter 4: Operators
Chapter 5: String
Chapter 6: Arrays
Chapter 7: Conditionals
Chapter 8: Loops
Chapter 9: Methods
Chapter 10: Class
Chapter 11: Static
Chapter 12: Inheritance
Chapter 13: Overriding
Chapter 14: Packages and Import
Chapter 15: Modules
Chapter 16: Access Levels
Chapter 17: Constants
Chapter 18: Interface
Chapter 19: Abstract
Chapter 20: Enum
Chapter 21: Exception Handling
Chapter 22: Boxing and Unboxing
Chapter 23: Generics
Chapter 24: Lambda Expressions
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.