<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Records on Abdelbaki Ben Elhaj Slimene</title><link>https://bakic.github.io/tags/records/</link><description>Recent content in Records on Abdelbaki Ben Elhaj Slimene</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Sat, 02 Oct 2021 00:00:00 +0000</lastBuildDate><atom:link href="https://bakic.github.io/tags/records/index.xml" rel="self" type="application/rss+xml"/><item><title>Records in Java</title><link>https://bakic.github.io/posts/records-in-java/</link><pubDate>Sat, 02 Oct 2021 00:00:00 +0000</pubDate><guid>https://bakic.github.io/posts/records-in-java/</guid><description>&lt;p&gt;&lt;img src="image-1.jpg" alt="Photo by AltumCode on Unsplash"&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;em&gt;Photo by &lt;a href="https://unsplash.com/@altumcode?utm_source=medium&amp;amp;utm_medium=referral"&gt;AltumCode&lt;/a&gt; on &lt;a href="https://unsplash.com?utm_source=medium&amp;amp;utm_medium=referral"&gt;Unsplash&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;After being a preview feature in Java 14 and Java 15, Java records are now part of the Java language starting from Java 16.&lt;/p&gt;&#10;&lt;p&gt;In this article, we are going to take a deep dive into Java records and look at what this feature provides and how can we use it.&lt;/p&gt;&#10;&lt;h2 id="records"&gt;Records&lt;/h2&gt;&#10;&lt;p&gt;As per the &lt;a href="https://openjdk.java.net/jeps/395"&gt;JEP 395&lt;/a&gt;, records are described as &lt;code&gt;classes that act as transparent carriers for immutable data&lt;/code&gt;.&lt;/p&gt;</description></item></channel></rss>