Hi all,
I am new to this forum.
I am using this code but it is not giving any out put
import java.util.*;
public class ListiteratorDemo {
public static void main(String args[])
{
ArrayList ob = new ArrayList();
ob.add(4);
ob.add(5);
ob.add(6);
ob.add(7);
ListIterator lit = ob.listIterator();
while(lit.hasPrevious())
{
System.out.println(lit.previous());
}
}
}
please help me!!!!!!!