title: How to implement java jdk14 record in jdk11?
body: <p>I am looking to avoid some boilerplate code. I see that jdk14 has Records as shown in the example below.</p>
  
  <p><a href="https://www.logicbig.com/tutorials/core-java-tutorial/java-14-changes/records.html" rel="nofollow noreferrer">https://www.logicbig.com/tutorials/core-java-tutorial/java-14-changes/records.html</a></p>
  
  <p>How can I do something similar to Records in jdk11 ?</p>