Question: Implement a library class CollectionUtilities containing the following class methods: ( 2 6 points ) a ) Class method displayMinMax receives a double [ ]

Implement a library class CollectionUtilities containing the following class methods:
(26 points)
a) Class method displayMinMax receives a double[](double-Array) as input and determines
and outputs the minimum and maximum value contained in the array in the terminal. If the
array is empty, the following message shall be printed: The array is empty. There is no min
and max value to display..
(10 points)
b) Class method reverseList receives an ArrayList as input and returns an
ArrayList containing the initial elements in reversed order. (7 points)
c) Class method duplicateFreeOddIntegers receives an ArrayList with arbitrary
integer values, potentially including duplicates, as input. It will return an ArrayList
that contains only the duplicate free odd integer values of the input list. (9 points)
Note: A potential test class will not be graded.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!