Java 17 Quick Syntax Reference : A Pocket Guide to the Java SE Language, APIs, and Library
معرفی کتاب «Java 17 Quick Syntax Reference : A Pocket Guide to the Java SE Language, APIs, and Library» نوشتهٔ Ken، Follett و Mikael Olsson, (Web programmer)، منتشرشده توسط نشر Apress : Imprint: Apress در سال 2021. این کتاب در فرمت pdf، زبان انگلیسی ارائه شده است.
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. Table of Contents About the Author About the Technical Reviewer Introduction Chapter 1: Hello World Installing Creating a Project Hello World Code Hints Chapter 2: Compile and Run Running from the IDE Running from a Console Window Comments Preview Features Chapter 3: Variables Data Types Declaring Variables Assigning Variables Using Variables Integer Types Floating-Point Types Char Type Boolean Type Variable Scope Anonymous Block Type Inference Chapter 4: Operators Arithmetic Operators Assignment Operators Increment and Decrement Operators Comparison Operators Logical Operators Bitwise Operators Operator Precedence Chapter 5: String Combining Strings Escape Characters String Compare StringBuffer Class Text Blocks Chapter 6: Arrays Array Declaration Array Allocation Array Assignment Multidimensional Arrays ArrayList Class Chapter 7: Conditionals If Statement Switch Statement Switch Expression Ternary Operator Chapter 8: Loops While Loop Do While Loop For Loop For Each Loop Break and Continue Labeled Block Chapter 9: Methods Defining Methods Calling Methods Method Parameters Return Statement Method Overloading Passing Arguments Chapter 10: Class Object Creation Accessing Object Members Constructor This Keyword Constructor Overloading Constructor Chaining Initial Field Values Default Constructor Null Default Values Garbage Collector Chapter 11: Static Accessing Static Members Static Methods Static Fields Static Initialization Blocks Instance Initialization Blocks Chapter 12: Inheritance Upcasting Downcasting Instanceof Operator Pattern Matching Switch Restricting Inheritance Chapter 13: Overriding Overriding Methods Override Annotation Hiding Methods Hiding Fields Accessing Redefined Members Calling Parent Constructor Chapter 14: Packages and Import Accessing Packages Chapter 15: Modules Creating a Module Using a Module Chapter 16: Access Levels Private Access Package-Private Access Protected Access Public Access Top-Level Access Nested Class Access Access-Level Guideline Chapter 17: Constants Local Constants Constant Fields Constant Method Parameters Compile-Time and Runtime Constants Constant Guideline Chapter 18: Interface Interface Members Interface Example Functionality Interface Class Interface Interface Classes Default Interface Methods Static Interface Methods Chapter 19: Abstract Abstract Class Example Abstract Classes and Interfaces Chapter 20: Enum Enum Class Chapter 21: Exception Handling Try-Catch Catch Block Finally Block Throwing Exceptions Checked and Unchecked Exceptions Exception Hierarchy Chapter 22: Boxing and Unboxing Autoboxing and Autounboxing Primitive and Wrapper Guideline Chapter 23: Generics Generic Classes Generic Methods Calling Generic Methods Generic Interfaces Generic Type Parameters Generic Variable Usages Bounded Type Parameters Generics and Object Chapter 24: Lambda Expressions Lambda Objects Lambda Parameters Index 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. 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. -- Provided by publisher
دانلود کتاب Java 17 Quick Syntax Reference : A Pocket Guide to the Java SE Language, APIs, and Library