#java16feature #record #jep395
Records in Java 16 - Why and how to use?
In this, we are going to learn a new feature added in Java 16 which is records.
We will see the motivation behind adding this feature and then how to use it in our code with examples.
_____________________________________________________________________________________
You can find all the demo code here -
Github - https://github.com/tech-recipes/jdk16...
_____________________________________________________________________________________
0:00 Overview
0:36 Why records?
3:21 Record classes
5:09 Demo code
____________________________________________________________________________________
Links to tools used in the video:
Intellij Idea: https://www.jetbrains.com/idea/