Learn how to create an object from a Java record using a DukeCharacter example, then explore the methods records give you automatically.
We’ll instantiate a DukeCharacter record and introduce or practice calling common built-in methods like accessors (component methods), toString(), and equals(). The hashCode() method is out of scope for this tutorial. https://t.co/yn2C7NrUgU