May 11, 2024
3 minute read
Java 14 is the fourteenth major release of the Java programming language. It was released on March 17, 2020, and is a long-term support (LTS) release. Java 14 introduces a number of new features and improvements, including:
New Features
Some of the new features introduced in Java 14 include:
-
Pattern matching for switch: This feature allows you to use pattern matching to compare a switch expression against a series of patterns. This can make your code more concise and easier to read.
-
Records: Records are a new type of lightweight data structure that is similar to a class. Records are immutable and can be used to represent data that does not need to be modified.
-
Local variable type inference: This feature allows the compiler to infer the type of a local variable from its initializer. This can make your code more concise and easier to read.
-
Text blocks: Text blocks are a new way to represent multiline strings. Text blocks can be indented and can contain newlines and whitespace. This can make your code more readable and easier to maintain.
-
Switch expressions: Switch expressions are a new way to write switch statements. Switch expressions are more concise and easier to read than traditional switch statements.
Improvements
In addition to the new features, Java 14 also includes a number of improvements to the language and runtime. These improvements include:
yz64x7|
Find a path to becoming a Java 14. Learn more at:
OpenCourser.com/topic/yz64x7/java
Reading list
We've selected 13 books
that we think will supplement your
learning. Use these to
develop background knowledge, enrich your coursework, and gain a
deeper understanding of the topics covered in
Java 14.
A comprehensive guide to Java concurrency that covers all aspects of writing concurrent code. is suitable for experienced Java programmers who want to learn how to write concurrent code that is correct and efficient. The authors are renowned experts in Java concurrency and the book has won numerous awards.
A comprehensive reference guide to Java 14, covering all aspects of the language. is suitable for both beginners and experienced Java programmers who want to learn more about the latest version of the language.
A practical guide to writing effective and efficient Java code. is suitable for experienced Java programmers who want to learn how to write high-quality code. The author renowned expert in Java programming and the book has won numerous awards.
A collection of recipes for solving common Java programming problems. is suitable for experienced Java programmers who want to learn how to solve common problems in the language. The author renowned expert in Java programming and the book has won numerous awards.
A guide to implementing domain-driven design in Java. is suitable for experienced Java programmers who want to learn how to design and implement software that is maintainable and extensible. The author renowned expert in domain-driven design.
A hands-on guide to Java 14 that covers all aspects of the language. is suitable for experienced Java programmers who want to learn how to use the latest features of the language. The authors are renowned experts in Java programming and the book has won numerous awards.
A modern and comprehensive guide to Java 14, covering the latest features of the language. is suitable for both beginners and experienced Java programmers who want to learn more about the latest version of the language. The authors are renowned experts in Java programming.
A guide to using Java for enterprise development. is suitable for enterprise developers who want to learn how to use Java for enterprise development. The author renowned expert in enterprise development.
A classic guide to Java that teaches the language from the ground up. is suitable for both beginners and experienced Java programmers who want to learn more about the fundamentals of the language. The author renowned expert in Java programming.
Provides a comprehensive overview of Java 14, covering the basics of the language as well as new features introduced in this release. is suitable for beginners who are new to Java or those who want to learn about the latest version of the language.
A guide to using Java for Android development. is suitable for Android developers who want to learn how to use Java for Android development. The author renowned expert in Android development.
A guide to using Java for web development. is suitable for web developers who want to learn how to use Java for web development. The author renowned expert in web development.
A beginner-friendly guide to Java that uses a visual and interactive approach to teaching the language. is suitable for those who are new to Java or those who want to learn the basics of the language in a fun and engaging way.
For more information about how these books relate to this course, visit:
OpenCourser.com/topic/yz64x7/java