- 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.
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));