Declare an Array-list and purpose of an iterator?
Anonymous
ArrayList a=new Arraylist(); Written the declaration of an array-list , explained the purpose of an iterator is to print the values of an list and then i have written the syntax of an iterator.
Check out your Company Bowl for anonymous work chats.