Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Enums on Steroids: Exploring Sealed Classes in Java 17

GeeCON Conference via YouTube

Overview

Explore the power of sealed classes in Java 17 through this GeeCON 2023 conference talk. Dive into the concept of "enums on steroids" as Marcin Chrost demonstrates how sealed classes can create innovative and facilitating mechanisms beyond strict control of class hierarchy. Learn about problem description, request-response patterns, evaluation techniques, response class hierarchy, immutable classes, and the evolution from ugly instance checks to elegant pattern matching. Gain insights into the compile-seal-compare process and engage with thought-provoking questions that challenge your understanding of this advanced Java feature.

Syllabus

Introduction
Who am I
Problem description
Request
Response
Evaluation
Response class
Hierarchy
immutable classes
ugly instance of
pattern matching
compile
seal
comparison
Questions
Conclusion

Taught by

GeeCON Conference

Reviews

Start your review of Enums on Steroids: Exploring Sealed Classes in Java 17

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.