16.6.2 LinkedList
Figure 16.3 demonstrates various operations on LinkedList
s. The program creates two LinkedList
s of String
s. The elements of one List
are added to the other. Then all the String
s are converted to uppercase, and a range of elements is deleted.
Get Java™ How To Program (Early Objects), Tenth 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.