Virtusa Interview Question

Declare an Array-list and purpose of an iterator?

Interview Answer

Anonymous

Sep 5, 2016

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.

1