Question: Create a program called LinkedListRunner with a main method that: Declared/creates a LinkedList with the identifier animals Add the following strings to the animals list:

Create a program called LinkedListRunner with a main method that:

Declared/creates a LinkedList with the identifier animals

Add the following strings to the animals list:

alligator bear camel dinosaur elephant fish gorilla hen iguana jellyfish kangaroo lion monkey nightingale otter penguin quail rabbit snake turtle uakari viper worm xenon yak zebra

Create a ListIterator and use it to walk sequentially through the linked list using hasNext and next, printing each string that is encountered

Use the iterator's hasPrevious and previous methods to walk backwards through the list. Examine each string and remove all the strings that begin with a vowel

Use iterator's hasNext and next methods to go forward again, printing out each string that remains in the linked list

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!