JDK 14 introduces records, which are a new kind of type declaration. Like an enum, a record is a restricted form of a class. It’s ideal for "plain data carriers," classes that contain data not meant to be altered and only the most fundamental methods such as constructors and accessors.
Watch video Java 14 | Record | Store Immutable Data in Compact Way | online without registration, duration 01 minute 00 second in high hd quality. This video was added by user Retarget Common 28 July 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 226 once and liked it 6 people.