Skip to content
0/9

Java Advanced: Generics, Streams and Concurrency

Modern Java: Sealed Types and Pattern Matching

In this lesson you will

  • Use pattern matching with instanceof and switch
  • Model alternatives with sealed interfaces and records
  • Destructure records with record patterns