Java List Interface

List Interface is the subinterface of Collection.It contains methods to insert and delete elements in index basis.It is a factory of ListIterator interface.

List Interface declaration

public interface List extends Collection

EXAMPLE

Flash Soon


Methods of Java ListIterator Interface:

public interface ListIterator extends Iterator E>

EXAMPLE

Flash Soon



Advertisement

© Sapster 2017