What will be the output of the following program?
import java.util.*;
public class Sachin {
public static void main(String... l) {
List<String> li = new ArrayList<String>();
li.add("Hello");
li.add("Madam");
ListIterator i = li.listIterator();
while (i.hasNext()) {
i.add("Hi");
i.next();
li.add("Hll");
}
System.out.println(li);
}
}