package iterator;
public class Client0 {
public final static String FILENAME =
"file1.txt";
List<String> fLines = new FileLineList(FILENAME);
System.
out.
println("Вторая строка\t\t: " + fLines.
get(1));
System.
out.
println("Четвертая строка\t: " + fLines.
get(3));
System.
out.
println("Весь список:");
Iterator<String> iter = fLines.iterator();
while (iter.hasNext()) {
}
}
}