Question: 1. Create an ArrayList of Strings. The user will type in 9 Strings to be added to the ArrayList. It will output the ArrayList originally

1. Create an ArrayList of Strings. The user will type in 9 Strings to be added to the ArrayList. It will output the ArrayList originally using just a println of the arraylist. It will output all odd members starting with first value in the ArrayList. It will remove all names that are less than 4 letters and then print the new arraylist.

2. Create an ArrayList of Doubles. Using a while loop that is based on the condition that kb.hasNextDouble() has a value entered that is a double value and not Q to quit it will add the value to the ArrayList. Once the user types Q it will find the smallest value and it will output all the values and mark the smallest value.

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!