Now its working but I want to know one more thing that is it compulsory to write next method before each of previous() method ?
Type: Posts; User: freakycoder
Now its working but I want to know one more thing that is it compulsory to write next method before each of previous() method ?
yeah it is working but is it compulsory to write next() method before each of previous method?
System.out.println(lit.hasPrevious()); it is printing false . what its mean
No , but i but it there it will show NoSuchElementException and putting it as show above it show no out put just blank console
Not getting
previous is there man . why it is not showing my elements ?
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[])