Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
vips7L
· 2y ago · 0 comments
Records are structural types. Null restricted types are in draft:
https://openjdk.org/jeps/8303099
Comments
[–]
htuyfjsdkfw
2y ago
Records in Java are nominal. In fact, it is syntax sugar for a class.