Learn Excel and Financial Modeling the Way Finance Teams Actually Use Them
Learn the Skills Netflix, Meta, and Capital One Actually Hire For
Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This course explains how Java records, sealed classes, and pattern matching work together to support data-oriented programming, including examples involving future values and JSON.
Syllabus
Intro
Project Amber
What is Object-oriented Programming?
Boundaries
Trend: small program units
New Emphasis
New Tools: Record Classes
New tools: Sealed classes
Test and extract
Pattern Matching in instanceof
Pattern matching in switch
Pattern matching over sealed hierarchies in switch
Record Patterns
Consuming the Future Type
Rethinking The Future Type
Processing a Better Return Type
JSON Values
JSON: Searching for Values
Recap: Data-oriented programming
Taught by
Java