Intermediate

Java Records and Pattern Matching

java · records · pattern · matching · backend · architecture · full-stack · web · record · patterns · methods · constructor · method · syntax · accessor · canonical · class · constructors...

New versions of Java offer a set of interesting features that allow you to write clearer and more concise code. As a Java developer, it is important to keep up to date with what's new in the language. This course covers two of these features: records and pattern matching.

These two topics are presented together because they are not independent — records and pattern matching work very well together. In the last module you will learn how to combine them.

Sign in to read this course

A free account unlocks all 514 courses. 20 are readable without one.

What's inside

7 sections
  1. 1 Table of Contents
  2. 2 Records: The Basics
  3. 3 Record Builders
  4. 4 Records Methods
  5. 5 Pattern Matching: The Basics
  6. 6 Pattern Matching with Records
  7. 7 Appendix: Full source code

Interested in this course?

Contact us to book it or get a custom training plan for your team.