title: What is the difference between a final Class and a Record?
body: <p>In simple words what is the difference between a <strong>final class</strong> and a <strong>record</strong> in Java 17?</p>
  <p>In which case should I use a record?</p>