Question: 1 . Create a method that takes an ArrayList of doubles and return an ArrayList of the input reversed. 2 . Create a method that

1. Create a method that takes an ArrayList of doubles and return an ArrayList of the input reversed.
2. Create a method that takes an ArrayList and two indices , the method swaps these two indices.
3. Create a method that takes an ArrayList and an index, the method removes the index value from the ArrayList
4. Create a method that takes an ArrayList of integers and return the average.
5. Create a method that takes two generic ArrayLists and return the union of these two.
6. Create a method that takes an ArrayList of strings and a string , the method returns true if the string exist in the ArrayList
7. Create a method that takes a traditional array of intger and returns it an ArrayList of integer.
8. Create a method that takes : an ArrayList containing {1,2,3}, and traditional array containing {4,5} and a specific index , add the second array to a specific index in the ArrayList, for instance :
int a[]={1,2,3} ;( ()/())/( t)he first array is a traditional array
ArrayList

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 Programming Questions!