Write a method called uniqueo which takes in a list


Problem

A. Uniqueness

Write a method called uniqueO which takes in a List and returns true if all the items in the List are unique. All the items are unique if none of them are the same. Return false otherwise.

B. All Multiples

Write a method named allMultiplesO which takes in a List of integers and an int. The method returns a new List of integers which contains all of the numbers from the input list which are multiples of the given int. For example, if the List is [1, 25, 2, 5, 30, 19, 57, 2, 25] and 5 was provided, the new list should contain [25, 5,30, 25].

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Write a method called uniqueo which takes in a list
Reference No:- TGS03242032

Expected delivery within 24 Hours