List
Interface’s Convenience Factory Method of
Lines 10–11 use the List
convenience factory method of
to create an immutable List<String>
. Method of
has overloads for List
s of zero to 10 elements and ...
Get Java How to Program, Early Objects, 11th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.