- 2

to Java Exceptions, Lists, Threads & Files Exceptions, Lists, Threads & Files Sorting Lists

It should be " Fill in the blanks to add three items to the list, sort it, and print '2'. " that you can see, its meant the number 2 and not the second position.

16th Jul 2020, 4:50 PM
Marco Schwald
Marco Schwald - avatar
2 Answers
0
Fill in the blanks to add three items to the list, sort it, and print '2'. Answer: System.out.println(list.get(1));
23rd May 2022, 10:11 PM
Nelson Aurelio Cardona Ibarra