May 1, 2024
3 minute read
Java 17 is the latest long-term support (LTS) release of the Java programming language. It was released on September 14, 2021, and it is supported until at least September 2029. Java 17 introduces several new features and improvements, including:
Sealed Classes and Interfaces
Sealed classes and interfaces allow you to restrict the subclasses or subinterfaces that can be created from them. This can be useful for ensuring that only certain types of objects can be created, and it can help to improve the security and maintainability of your code.
Pattern Matching for instanceof
Java 17 introduces pattern matching for the instanceof operator. This allows you to more easily check the type of an object and perform different actions based on its type.
Records
Records are a new type of class that is designed to hold data. They are similar to JavaBeans, but they are more concise and immutable. Records can be useful for representing data that does not need to be modified.
Switch Expressions
wydj90|
Find a path to becoming a Java 17. Learn more at:
OpenCourser.com/topic/wydj90/java
Reading list
We've selected seven 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 17.
Must-read for Java developers of all levels. It provides practical advice on how to write clean, maintainable, and efficient Java code.
Is written by Bruce Eckel, the Java evangelist. This book is suitable for experienced Java programmers who are looking to gain a deeper understanding of the Java programming language. It covers a wide range of topics, from the basics of the language to advanced concepts such as concurrency and reflection.
Is the definitive guide to Java concurrency. It covers everything from basic concepts to advanced topics such as thread pools and lock-free programming.
Classic introduction to design patterns in Java. It covers 23 of the most common design patterns, providing examples and code snippets to help you understand how they can be used to solve real-world problems.
Comprehensive guide to building web applications with Java EE 7 and GlassFish 4. It covers everything from basic concepts such as servlets and JSPs to advanced topics such as RESTful web services and cloud computing.
Classic introduction to the Java programming language. It uses a fun and engaging approach to teach the basics of Java, making it a great choice for beginners who want to learn the language quickly and easily.
Comprehensive guide to Java persistence with Hibernate. It covers everything from basic concepts such as object-relational mapping to advanced topics such as caching and performance tuning.
For more information about how these books relate to this course, visit:
OpenCourser.com/topic/wydj90/java