Forum

Number Of Page View:100,000+/Months
LOGIN |New User

Reply

What is List interface ? 

List is an ordered collection of elements. The user of this interface has precise control over where in the list each element is inserted. The user can access elements by their integer index. Unlike sets, lists typically allow duplicate elements. The List interface includes operations for the following:

    * Positional access 
    * Search
    * Iteration 
    * Range-view 

Useful methods of the List Interface:

  * add()
  * clear()
  * contains()
  * get()
  * isEmpty()
  * listIterator()
  * remove()
  * size()
Posted By: Name:Rajesh Kr URL: What is List interface ?