r/java • u/davidalayachew • Jun 07 '26
#JavaNext Language Features
https://youtu.be/fFocVFEe2TIIf you've been following along, most of the new features have already been discussed, but the genuinely new stuff is at 43:55, about arrays.
79
Upvotes
View all comments
Show parent comment
0
u/AnyPhotograph7804 Jun 08 '26
Generics like ArrayList, where you cannot add, remove or modify its elements after instantiation. Somehow like a const vector in C++.