Question: The Collections class provides static methods that work with Lists. Which of the following is not functionality provided by the static methods of the Collections
The Collections class provides static methods that work with Lists.
Which of the following is not functionality provided by the static methods of the Collections
class?
sort
find the maximum
none of these is correctCollections provides methods for all of these
find the minimum
find the total
shuffle
Which of the following is true?
List String wordList new ArrayList String ;
wordList.addhello;
wordList.add;
the code has a syntax compiler error
there is no error
the code will have a runtime error
Which of the following is true?
List String wordList new ArrayList String;
wordList.addhello;
string word wordList.get ;
there is no error
the code has a syntax compiler error
the code will have a runtime error
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
