4 ms·
Records are structural types. Null restricted types are in draft: https://openjdk.org/jeps/8303099 https://openjdk.org/jeps/8303099
by vips7L 2y ago
Records are structural types. Null restricted types are in draft: https://openjdk.org/jeps/8303099 https://openjdk.org/jeps/8303099
- htuyfjsdkfw 2y agoRecords in Java are nominal. In fact, it is syntax sugar for a class.