Java records are a preview feature available in Java 14 which natively reduces boilerplate code when dealing with Data Classes. Learn how we can actually model data as data-only aggregates and close the gap in Java’s type system.
All code is available on Github which run a Docker container with JShell. The examples contain code which have preview feature enabled in jdk 14 for the - Java Record
00:00 Start of Tutorial
00:38 Project Walk Through | Before Records
02:45 Project Walk Through | New Java Records Feature
Check out the MVP Java blog post here:
http://mvpjava.com/java-records/
Resources:
https://openjdk.java.net/jeps/359
https://cr.openjdk.java.net/~briangoe...
https://blogs.oracle.com/javamagazine...
======================================================
Subscribe to MVP Java ...
https://www.youtube.com/c/MVPJava?sub...
Follow me ...
Website : http://www.mvpjava.com
Facebook : / mvpjava
Twitter : / mvpjava
GitHub : https://github.com/mvpjava
DockerHub: https://hub.docker.com/?namespace=mvp...
My Company: www.triomni-it.com