Question: 11. Write code that will display the last String object in a list of String objects in which we do not know how long the
11. Write code that will display the last String object in a list of String objects in which we do not know how long the list is, but we do know it's not empty. Assume a ListIterator object, iter has just been created. Use it in your code instead of List methods. In questions 12 - 13 assume a List object has been created as follows: List myList = new ArrayList(); 12. Use my List to create an Iterator object called itr. 13. Use my List to create a ListIterator object called Istiter
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
